Skip to content

azumio/py-secureapikeys

Repository files navigation

Azumio Secure Api Keys

ASPK uses Google KMS.

Prerequisite

Authenticate google account

Installation

pip install py_secureapikeys_azumio

Usage

from py_secureapikeys_azumio.apikeys import SecureApiKeys

sak = SecureApiKeys('azumio-com', 'global', 'my-keyring','my-key')
microservice_api_key = sak.decrypt_key('my encrypted key in base64 format')

# use the microservice_api_key for calling that microservice

Decrypt API keys:

api_key = sak.decrypt_key("base64 encodede and KMS encrypted API Key")

Developers

Project uses Github actions.

Push to main branch it will deploy to https://test.pypi.org/

Production release

  1. Create tag
git tag 1.0.1
  1. Upgrade version in setup.py and pyproject.toml.

  2. Push tags:

git push origin --tags

About

Python library to decode python API keys

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages