Secrets
Store a write-only organization secret
Changed onStores an organization secret encrypted with a per-secret envelope key and AES-GCM AAD binding its type, exact target, and execution boundary. Refuses agent and API-key callers.
post/v1/org/secrets
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Request body
Create Organization Secret Request required
name, string required
description, string nullable
secretType, 'mcp_header' | 'http_header' | 'ssh_key' | 'cli_env' | 'web_login' required
executionBoundary, 'cloud_only' | 'desktop_allowed'
targetHost, string
targetCommand, string
headerName, string
headerPrefix, string
envName, string
loginUsername, string
secretValue, string required
allowBlindUse, Organization Secret Blind Use Request
defaultRule, 'allow' | 'ask' | 'block'
Response
Created secret metadata.
Organization Secret Detail Response required
secret, Organization Secret Summary required
blindUse, object required
rules, Organization Secret Rule[] required
Changes
- breaking
removed the required property
secret/sshFingerprintfrom the response with the status - breaking
removed the required property
secret/sshPublicKeyfrom the response with the status - breaking
removed the required property
secret/targetConnectionIdfrom the response with the status
2 more changes in this revision
- breaking