Skip to main content

vault-dev

PyPI - Version PyPI - Python Version

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.

Metadata

Release files for vault-dev 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vault-dev 0.1.1
File Size Uploaded
vault_dev-0.1.1.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vault-dev 0.1.1
File Interpreter ABI Platform
vault_dev-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.5 kB

Release files / vault_dev-0.1.1.tar.gz

Download URL vault_dev-0.1.1.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8cdfc0ca3ce3321d057e40dd789c4174340eb0a44af1e1524a94ece3f65be5ec
BLAKE2b-256 checksum
How to use checksums
107d9e1b8a93278b4e5161aa049f5f06b14b5b0bc9c9c5e8ba80ed24a77f8269
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.24.1

Release files / vault_dev-0.1.1-py3-none-any.whl

Download URL vault_dev-0.1.1-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06e8db8db93b7e233a6838b733449f0a7e4c372bac5bf05d59c4ce6c29e6a98b
BLAKE2b-256 checksum
How to use checksums
dc657295300856d2d69eee075d0681d98eb8b6ebe9668aeecea79f383394bf16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.24.1

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page