Skip to main content
PUT
Set Secret
Set or update a secret on an agent. The first call auto-creates a backing secret store. Values are AES-256-GCM encrypted at rest and never returned via API. CLI equivalent: oc agent create --secret KEY=VALUE (at creation time only)
string
required
Agent ID
string
required
Secret key name
string
required
Secret value
string[]
Restrict which outbound hosts can receive the decrypted value