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:
pip install test/requirements-test.txt
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.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for awsiamvault-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39a9ec75c2c7410ecaca6faceb7f86312daab72d8c51b216481c3d77bce70a0c |
|
MD5 | 877ba1e7c6cb39addb1940afffa91757 |
|
BLAKE2b-256 | 307027a003217d2deb7aa58e3f4e07d7b19e3f2ca0e30478defb6d904ee74185 |