Skip to main content

A small helper for getting a secretfrom Vault using IAM role credentials

Project description


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.


pip install awsiamvault


from awsiamvault import read_secret

secret = read_secret(region, vault_url, path)


pip install test/requirements-test.txt
nosetests -v --with-cover --cover-erase --cover-tests --cover-package=awsiamvault

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for awsiamvault, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size awsiamvault-0.0.2-py3-none-any.whl (14.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size awsiamvault-0.0.2.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page