No project description provided
Project description
vault-dev
Use vault server in development mode in tests, from python
Installation:
Install with pip
pip3 install --user vault_dev
Usage:
import vault_dev
vault_dev.ensure_installed()
# Did not find system vault, installing one for tests
# installing vault to '/tmp/tmpkzvlyw5c'
with vault_dev.server(verbose=True) as server:
vault = server.client()
vault.write("secret/key", value="password")
# Starting vault server on port 37355
# Waiting for server to become active
# .
# Connection made
# Configuring old-style kv engine at /secret
# Stopping vault server
License
vault-dev
is distributed under the terms of the MIT license.
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
vault_dev-0.1.0.tar.gz
(7.2 kB
view hashes)
Built Distribution
Close
Hashes for vault_dev-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bedf435b45166e754af8ce241da293599cbae2752b9d856235cc39ff43311ed2 |
|
MD5 | 3aa067e619319102a044db054fa4f8d4 |
|
BLAKE2b-256 | 9fdee6039ba3bb97903f5e46d7f0a13eb5f35584b81964fe394671b1f542dd94 |