SDK — Secrets

Store a secret (set_secret)

Encrypt and store a secret value in the agent vault.

post/sdk/agents/{agentId}/secrets

Request

  • Base URL: https://api.agentbrink.com/api
  • URL: https://api.agentbrink.com/api/sdk/agents/{agentId}/secrets
  • Auth: HTTP bearer

Request body

keystring required
valuestring required

Example request

{
  "key": "OPENAI_API_KEY",
  "value": "sk-..."
}

Response

Stored

statusstring
keystring

Changes

No recorded changes to this operation across all 1 revision of this API.