Skip to content

This repository hosts a collection of Python scripts designed to fetch secrets from Vaults or Secrets Managers

Notifications You must be signed in to change notification settings

sidgolangade/Python-Scripts-To-Fetch-Secrets-From-Vault-or-Secrets-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Python Hashicorp-Vault AWS-S3

Python-Scripts-To-Fetch-Secrets-From-Vault-or-Secrets-Manager

Description

This repository contains a collection of Python scripts to fetch secrets from Vaults or Secrets Managers and utilize them for various use cases. These scripts provide a convenient way to securely retrieve sensitive information stored in AWS Secrets Manager or Hashicorp Vault and use them in your applications or infrastructure. Each script focuses on a specific use case and provides a starting point for integrating secrets from AWS Secrets Manager into your applications or infrastructure.

Key Highlights

  • Secret Fetcher: - A script to fetch a secret from AWS Secrets Manager and store it in an output file for later use in OpenShift Init containers.

  • Database Connection: - A script that demonstrates how to fetch database credentials from AWS Secrets Manager and establish a connection to a database.

  • API Key Integration: - A script that fetches an API key from AWS Secrets Manager and integrates it with an API client.

  • Environment Variables Setup: - A script that retrieves environment variable values from AWS Secrets Manager or Hashicorp Vault and sets them as environment variables for an application.

Steps?

Browse through the repository's folders to find specific use cases of your interest.

Contributing

Contributions are welcome! If you have any improvements, bug fixes, or additional examples related to fetch secrets, feel free to open a pull request. Please ensure your contributions adhere to the repository's coding standards and include relevant documentation.

About

This repository hosts a collection of Python scripts designed to fetch secrets from Vaults or Secrets Managers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages