Skip to content

vendor_connectors.vault.tools

AI framework tools for HashiCorp Vault operations.

This module provides tools for Vault operations that work with multiple AI agent frameworks.

ListSecretsSchemaSchema for listing Vault secrets.
ReadSecretSchemaSchema for reading a Vault secret.
list_secretsList secrets recursively from Vault KV v2 engine.
read_secretRead a single secret from Vault.
get_langchain_toolsGet all Vault tools as LangChain StructuredTools.
get_crewai_toolsGet all Vault tools as CrewAI tools.
get_strands_toolsGet all Vault tools as plain Python functions for AWS Strands.
get_toolsGet Vault tools for the specified or auto-detected framework.
TOOL_DEFINITIONS

class vendor_connectors.vault.tools.ListSecretsSchema

Section titled “class vendor_connectors.vault.tools.ListSecretsSchema”

Bases: pydantic.BaseModel

Schema for listing Vault secrets.

‘Field(…)’

‘Field(…)’

‘Field(…)’

class vendor_connectors.vault.tools.ReadSecretSchema

Section titled “class vendor_connectors.vault.tools.ReadSecretSchema”

Bases: pydantic.BaseModel

Schema for reading a Vault secret.

‘Field(…)’

‘Field(…)’

List secrets recursively from Vault KV v2 engine.

Args: root_path: Root path to search. mount_point: KV engine mount point. max_depth: Max traversal depth.

Returns: List of secret data dicts with path, mount_point, data, and key_count.

Read a single secret from Vault.

Args: path: Path to the secret. mount_point: KV engine mount point.

Returns: Dict with path, mount_point, data, and found status.

vendor_connectors.vault.tools.TOOL_DEFINITIONS

Section titled “vendor_connectors.vault.tools.TOOL_DEFINITIONS”

None

Get all Vault tools as LangChain StructuredTools.

Get all Vault tools as CrewAI tools.

Get all Vault tools as plain Python functions for AWS Strands.

Get Vault tools for the specified or auto-detected framework.