A small helper for getting a secretfrom Vault using IAM role credentials
Project description
aws-iam-vault
Helper to retrieve a secret from Hashicorp Vault using an EC2 instance's IAM role to authenticate.
Use on an AWS EC2 instance with a role that has access to the Vault path to be retrieved.
Install:
pip install awsiamvault
Use:
from awsiamvault import read_secret
secret = read_secret(region, vault_url, path)
Test:
nosetests -v --with-cover --cover-erase --cover-tests --cover-package=awsiamvault
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
awsiamvault-0.0.1.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for awsiamvault-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a76b77ea75ed3a9410484df751dc77998e87b199c1587c1b8002f8e5bc19468 |
|
MD5 | c323bb8c14df706b94d46d626f5162b8 |
|
BLAKE2b-256 | 52590ffb49ace4554063ccd772e89dc98338bc7ce520f12bb1f0429f8946a308 |