Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_secureapikeys_azumio-1.0.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_secureapikeys_azumio-1.0.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file py_secureapikeys_azumio-1.0.1.tar.gz.

File metadata

  • Download URL: py_secureapikeys_azumio-1.0.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for py_secureapikeys_azumio-1.0.1.tar.gz
Algorithm Hash digest
SHA256 dbb2c35b8ec62f94ee89beacfe83794ca9f361d42aadf103060261283cc73dda
MD5 17855149b55f3666dafd4afbd57ede3e
BLAKE2b-256 9279f126f8fb83a3174587bf75baf73de238cb03ed877996a8c4c5e6566603a6

See more details on using hashes here.

File details

Details for the file py_secureapikeys_azumio-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for py_secureapikeys_azumio-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a08ca1f4dfa52af6d2494fdf3a8ae8d3c6fb1d273ace9339dee8a50a9755ae41
MD5 1893f286f693f13ede0090ba44abc8fb
BLAKE2b-256 f5466ad59c87d3103f2c840a1607478611e805aefce344b52b33b480362e7e48

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page