Metadata-Version: 2.1
Name: gcpsecrets
Version: 0.1.0
Summary: Package to access GCP Secrets through Dictionary interface
License: Apache 2.0
Author: Boris Tvaroska
Author-email: tvaroska@google.com
Requires-Python: >=3.8,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: google-cloud-secret-manager (>=2.16.2,<3.0.0)
Description-Content-Type: text/markdown

# 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']
