Metadata-Version: 2.1
Name: awsiamvault
Version: 0.0.2
Summary: A small helper for getting a secretfrom Vault using IAM role credentials
Home-page: https://github.com/cjhodges77/aws-iam-vault
Author: Chris Hodges
Author-email: chris@humbershoe.co.uk
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: boto3
Requires-Dist: hvac

# 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:
```console
pip install awsiamvault
```
Use:
```python
from awsiamvault import read_secret

secret = read_secret(region, vault_url, path)
```
Test:
```console
pip install test/requirements-test.txt
nosetests -v --with-cover --cover-erase --cover-tests --cover-package=awsiamvault
```


