.polpo/vault.enc.
Entry schema
Use
key, not apiKey, for an api_key entry. SMTP and IMAP ports are numeric strings in the REST payload.
Agent access
vault_get and vault_list are always registered. They only expose entries belonging to the calling agent. vault_list returns service names, types, and credential key names without values.
Custom tools no longer receive ctx.vault. New custom integrations should read credentials from project Connections through ctx.connections.
API
PATCH still requires type so Polpo can validate credential field names. Create and update responses never return credential values.
Local encryption
For the file-backed OSS vault, the key is resolved in this order:POLPO_VAULT_KEY, exactly 64 hexadecimal characters;~/.polpo/vault.key, read or generated as 32 random bytes with owner-only permissions where supported.
${ENV_VAR} references; the runtime resolves them against its safe environment when it builds the agent’s vault.
polpo deploy synchronizes local vault entries to the Cloud vault. Cloud then stores encrypted entries in the project database rather than reading .polpo/vault.enc at runtime.