Skip to main content

Vault Credential Fetcher

Convenient wrapper for executing codes on AWS for connecting and fetching credentials from vault.

Install with pip

$ pip install SecretManagerCredentials

Usage

  1. Import the library.

    from SecretManagerCredentials.SecretManagerFetcher import SecretManagerFetcher
    
  2. 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
  3. 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)

Source distribution for SecretManagerCredentials 0.0.6
File Size Uploaded
SecretManagerCredentials-0.0.6.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SecretManagerCredentials 0.0.6
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page