Vault Credential Fetcher
Convenient wrapper for executing codes on AWS for connecting and fetching credentials from vault.
Install with pip
$ pip install SecretManagerCredentials
Usage
-
Import the library.
from SecretManagerCredentials.SecretManagerFetcher import SecretManagerFetcher
-
Create an instance.
SM = SecretManagerFetcher(project_path="", logger=<your_logger_instance>, environment="", display_vault_info=True, vault_config_path="")
Arguments (all are mandatory):
project_path: Project name, which would serve as the logger's name (if specified), and the prefix for log filenames.logger: your Logger Instance"environment": Execution Environment"display_vault_info": By default it is False, used for displaying vault info"vault_config_path": Path where vault config is kept, relative to project path
-
Get a logger and start logging.
VaultCreds = SM.get_vault_cred()
Author
© 2023, Mallikarjuna Devaraya.
Release files for SecretManagerCredentials 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| SecretManagerCredentials-0.0.6.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SecretManagerCredentials-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / SecretManagerCredentials-0.0.6.tar.gz
| Download URL | SecretManagerCredentials-0.0.6.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebffa4deb5e37001e01e69844773151dbab21c4496aae3c11549583fd70a74f2
|
|
BLAKE2b-256 checksum How to use checksums |
0a7fb99d5b7d3c1f5a8acd820c57c30fc093621000ab56521ec840ece1ae00bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / SecretManagerCredentials-0.0.6-py3-none-any.whl
| Download URL | SecretManagerCredentials-0.0.6-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8a993d67e39995b43985227bf948dca29d715d3bd898b60fd04144e453f32fd
|
|
BLAKE2b-256 checksum How to use checksums |
421568c6a4291e90b7d1a17f276193930a3fc46110d80104cda5488d710670dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|