Azumio Secure Api Keys
ASPK uses Google KMS.
Prerequisite
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
- Create tag
git tag 1.0.1
-
Upgrade version in
setup.pyandpyproject.toml. -
Push tags:
git push origin --tags
Release files for py-secureapikeys-azumio 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py_secureapikeys_azumio-1.0.1.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_secureapikeys_azumio-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.3 kB
Release files / py_secureapikeys_azumio-1.0.1.tar.gz
| Download URL | py_secureapikeys_azumio-1.0.1.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dbb2c35b8ec62f94ee89beacfe83794ca9f361d42aadf103060261283cc73dda
|
|
BLAKE2b-256 checksum How to use checksums |
9279f126f8fb83a3174587bf75baf73de238cb03ed877996a8c4c5e6566603a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / py_secureapikeys_azumio-1.0.1-py3-none-any.whl
| Download URL | py_secureapikeys_azumio-1.0.1-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a08ca1f4dfa52af6d2494fdf3a8ae8d3c6fb1d273ace9339dee8a50a9755ae41
|
|
BLAKE2b-256 checksum How to use checksums |
f5466ad59c87d3103f2c840a1607478611e805aefce344b52b33b480362e7e48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|