Secrets
Set an Allow, Ask, or Block rule for a secret
Changed onSets Allow, Ask, or Block on a secret for Everyone, a team, a member, or an agent. Precedence at runtime is Block > Ask > Allow.
put/v1/org/secrets/{secretId}/rules
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
secretId, string required
Request body
Set Organization Secret Rule Request required
subjectKind, 'organization' | 'team' | 'member' | 'agent' required
subjectId, string required
rule, 'allow' | 'ask' | 'block' required
Response
Updated secret detail.
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
1 more change in this revision
- breaking