Skip to main content

Quick Start

No API keys, no tokens, no configuration. Your agent’s SPIFFE identity is verified automatically.

VaultClient

For more control, use the VaultClient class:

Methods

method
Get a secret value as a string.
method
Get a Secret object with metadata.
method
Store a secret. Returns the new version number.
method
Delete a secret.
method
List secret paths.
method
Check if a secret exists.
method
Get a secret with a fallback value.
method
JSON serialization helpers.
method
Check Vault service health.

Decorators

@secret

Shorthand for fetching a single secret:
With options:

@secrets_batch

Fetch multiple secrets at once:

Context Manager


Security Model


Exceptions