Skip to content

API Reference parrot.security.vault_store_redis

github-actions[bot] edited this page Dec 2, 2026 · 1 revision

parrot.security.vault_store_redis

View source

Vault credentials in Redis (FEAT-878).

Alias RedisDocumentStore

Re-exported from parrot.userstore.RedisDocumentStore.

Class RedisVaultCredentialStore

Store encrypted user_credentials documents in Redis.

Parameter Type Default Description
documents RedisDocumentStore | None None

Method RedisVaultCredentialStore.store

Seal a credential, preserving its creation timestamp on rewrite.

store(user_id: Any, vault_name: str, secret_params: dict[str, Any]) -> None

Parameter Type Default Description
user_id Any
vault_name str
secret_params dict[str, Any]

Method RedisVaultCredentialStore.create

Seal and insert a credential only when absent (atomic).

create(user_id: Any, vault_name: str, secret_params: dict[str, Any]) -> bool

Parameter Type Default Description
user_id Any
vault_name str
secret_params dict[str, Any]

Returns: bool — True when created, False when a credential with that name already exists.

Method RedisVaultCredentialStore.retrieve

Open a stored credential.

retrieve(user_id: Any, vault_name: str) -> dict[str, Any]

Parameter Type Default Description
user_id Any
vault_name str

Returns: dict[str, Any]

Raises:

  • KeyError — If the credential does not exist.

Method RedisVaultCredentialStore.delete

Delete a stored credential when present.

delete(user_id: Any, vault_name: str) -> None

Parameter Type Default Description
user_id Any
vault_name str

Method RedisVaultCredentialStore.list_credentials

Return decrypted credentials, skipping entries that cannot be opened.

list_credentials(user_id: Any) -> dict[str, dict[str, Any]]

Parameter Type Default Description
user_id Any

Returns: dict[str, dict[str, Any]]

Method RedisVaultCredentialStore.exists

Return whether the credential exists without decrypting it.

exists(user_id: Any, vault_name: str) -> bool

Parameter Type Default Description
user_id Any
vault_name str

Returns: bool

Alias USER_CREDENTIALS

Re-exported from parrot.userstore.collections.USER_CREDENTIALS.

Alias credential_context

Re-exported from parrot.security.credentials_utils.credential_context.

Alias decrypt_credential

Re-exported from parrot.security.credentials_utils.decrypt_credential.

Alias encrypt_credential

Re-exported from parrot.security.credentials_utils.encrypt_credential.

Attribute logger

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally