Skip to main content
Help us improve Python packaging – donate today!

Access TeamVault secrets from BundleWrap

Project Description

Pull secrets from [TeamVault](https://github.com/trehn/teamvault) into your [BundleWrap](http://bundlewrap.org) repo.

# Installation

pip install bundlewrap-teamvault

# Setup

Add this to your `~/.bw_teamvault_secrets.cfg`:

```
[foocorp]
url = https://teamvault.example.com
username = jdoe
password = potato
```

# Usage

Use in your `nodes.py` like this (replace ABCDEF with the hash id from the TeamVault URL of the secret you want):

```
import bwtv as teamvault

nodes = {
"node1": {
'metadata': {
'secret': teamvault.password("ABCDEF", site="foocorp"),
},
},
}
```

Note: This will insert a proxy object into your metadata, the actual secret is not retrieved until you convert it to a string (e.g. by inserting it in a template or calling `str()` explicitly).

---

© 2016 [Torsten Rehn](mailto:torsten@rehn.email)

Release history Release notifications

This version
History Node

2.0.1

History Node

2.0.0

History Node

1.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
bundlewrap_teamvault-2.0.1-py2.py3-none-any.whl (3.9 kB) Copy SHA256 hash SHA256 Wheel 2.7 Mar 19, 2016
bundlewrap-teamvault-2.0.1.tar.gz (15.6 kB) Copy SHA256 hash SHA256 Source None Mar 19, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page