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.1.tar.gz
(7.1 kB
view details)
Built Distribution
File details
Details for the file vault_dev-0.1.1.tar.gz
.
File metadata
- Download URL: vault_dev-0.1.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cdfc0ca3ce3321d057e40dd789c4174340eb0a44af1e1524a94ece3f65be5ec |
|
MD5 | 188029bd1b3c5889ce6a55e2d2d132d6 |
|
BLAKE2b-256 | 107d9e1b8a93278b4e5161aa049f5f06b14b5b0bc9c9c5e8ba80ed24a77f8269 |
File details
Details for the file vault_dev-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: vault_dev-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06e8db8db93b7e233a6838b733449f0a7e4c372bac5bf05d59c4ce6c29e6a98b |
|
MD5 | 86f6f733df7ed29d3eb328f1fe5cca2c |
|
BLAKE2b-256 | dc657295300856d2d69eee075d0681d98eb8b6ebe9668aeecea79f383394bf16 |