Skip to main content

AWS secrets manager helper

Project description

aws-vault
===============================

![travis-ci](https://api.travis-ci.org/spacetimelabs/awsvault.svg)

version number: 0.1.1
author: Spacetime Labs

Overview
--------

AWS Secrets Manager helper

Installation / Usage
--------------------

To install use pip:

$ pip install awsvault


Or clone the repo:

$ git clone https://github.com/spacetimelabs/awsvault.git
$ python setup.py install

Contributing
------------

pip install requirements-dev.txt
tox

Example
-------

```python
vault = Vault("myproject/email_secrets")
email_user = vault.get("EMAIL_USER")
email_password = vault.get("EMAIL_PASS")
```

```python
OVERRIDE = {
'EMAIL_USER': 'bart.simpsons@example.com'
}

vault = Vault("myproject/email_secrets", look_first=OVERRIDE)
email_user = vault.get('EMAIL_USER')
assert email_user == 'bart.simpsons@example.com'
```

```python
def my_super_special_get_config_fn(name):
if name == 'FRUIT':
return 'avocado'


vault = Vault("myproject/email_secrets", look_first=my_super_special_get_config_fn)
email_user = vault.get('EMAIL_USER')
fruit = vault.get('FRUIT')

assert fruit == 'avocado'
```


Project details


Download files

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

Source Distribution

awsvault-0.1.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

awsvault-0.1.1-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file awsvault-0.1.1.tar.gz.

File metadata

  • Download URL: awsvault-0.1.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for awsvault-0.1.1.tar.gz
Algorithm Hash digest
SHA256 505267a65072a47526c556d26ad2f8a28da78b860fa003c2d20248812ee22ecd
MD5 72be754db495951721efc2ff5f4b5e6d
BLAKE2b-256 bd117d50b162f5c3085c8753118ea0ac596a17e2c227c17dff432e8ef88be070

See more details on using hashes here.

File details

Details for the file awsvault-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: awsvault-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for awsvault-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b66ee1faa870d64f67ea85f4343ebf2e6ca4628162a9ff9dbc2e97b3a5b0ccf3
MD5 d83145da03a4efa6eabb2196d73e0126
BLAKE2b-256 2500d7e5737158125e006062ada3206f02a6ef3d58d999117a8223bd717e77be

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page