Skip to main content

Package to access GCP Secrets through Dictionary interface

Project description

gcpsecrets

GCP Secret Manager as Python Dictonary

Install

pip install git+https://github.com/tvaroska/gcpsecrets

Ussage

Dictionary accepts two types of keys:

  • str: the latest active version of the secter
  • tuple[str, str]: the exact version of the secret

Examples:

from gcpsecrets import GCPSecrets

secrets = GCPSecrets() # to use other than default project use argument project=...

api_key = secrets['API_KEY']

Project details


Download files

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

Source Distribution

gcpsecrets-0.1.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

gcpsecrets-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file gcpsecrets-0.1.0.tar.gz.

File metadata

  • Download URL: gcpsecrets-0.1.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.8.10 Linux/5.15.0-1046-gcp

File hashes

Hashes for gcpsecrets-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c1ea65d323ee1e7c573cdf4f5adfb2fa3b6145781a7f9132fb182384c5e8d4f8
MD5 835e650068ee0559391a3e8faba5f6d9
BLAKE2b-256 eee2cc7449f568d3598d22c3df2440f60707fcd72f9025836c6154b322deb351

See more details on using hashes here.

File details

Details for the file gcpsecrets-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gcpsecrets-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.8.10 Linux/5.15.0-1046-gcp

File hashes

Hashes for gcpsecrets-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17bc988d72f81c892457e2162f901fb5c1543bf00d57cfdbbf7dfcb9badedb33
MD5 8c14b7e9a3a0316925c07fd0ba153bfc
BLAKE2b-256 74b04b6c69594b294b8f371172b93b2ad203f2ad8779b61366b33e2fb70f1dda

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page