Skip to main content
POST
Save vault entry

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. Configure via the apiKeys field in polpo.json or the POLPO_API_KEY environment variable.

Body

application/json
agent
string
required

Agent name

Minimum string length: 1
service
string
required

Service name (vault key)

Minimum string length: 1
type
enum<string>
required

Credential type

Available options:
smtp,
imap,
oauth,
api_key,
login,
custom
credentials
object
required

Key-value credential fields

label
string

Human-readable label

Response

Vault entry saved successfully

ok
boolean
required
data
object
required