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 details)
Built Distribution
File details
Details for the file awsiamvault-0.0.2.tar.gz
.
File metadata
- Download URL: awsiamvault-0.0.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aaf50dce912002091da319cad365c4199949524d3a73f3bbb2f70dadabf4a05 |
|
MD5 | 8c561ef4c0e4500635391a10ac758140 |
|
BLAKE2b-256 | b62b3574fde686d042d43b121ac15d34e990a79d34e285e4dcbc3b8934e5cdab |
File details
Details for the file awsiamvault-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: awsiamvault-0.0.2-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39a9ec75c2c7410ecaca6faceb7f86312daab72d8c51b216481c3d77bce70a0c |
|
MD5 | 877ba1e7c6cb39addb1940afffa91757 |
|
BLAKE2b-256 | 307027a003217d2deb7aa58e3f4e07d7b19e3f2ca0e30478defb6d904ee74185 |