ASPK uses Google KMS.
pip install py_secureapikeys_azumio
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")
Project uses Github actions.
Push to main
branch it will deploy to https://test.pypi.org/
- Create tag
git tag 1.0.1
-
Upgrade version in
setup.py
andpyproject.toml
. -
Push tags:
git push origin --tags