Update secret metadata
Changed onRenames a secret or replaces its metadata, and returns the updated secret without its value. The value, kind, and owner can't be changed here. References use the secret ID, so renaming doesn't break them.
Request
- Base URLhttps://api.omnara.com/v1
- Auth
- HTTP bearer
- or API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf
Path parameters
Organization ID (org_...).
Secret ID (sec_...).
Request body
Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.
Arbitrary key-value labels stored with the resource.
Response
Secret updated.
Identifies the secret; other resources reference it by this ID instead of storing the value.
Organization the secret belongs to.
Whether the organization manages this secret or the Omnara installation provisions and manages it.
Who owns the secret; a project can use it without a grant only if the project owns it.
Display name of the secret.
What type of credential the secret holds, which determines its payload fields.
Caller-supplied key-value labels on the secret.
Version of the value currently in use; each rotation increments it.
Names of the fields stored in the current value, such as value or access_token; values are never returned.
When the secret was created.
When the secret's name, metadata, or current version last changed.
Changes
- warning
added the new
github_app_credentialsenum value to thekindresponse property for the response status
- warning
- info
added the optional property
current_digestto the response with the status - info
added the optional property
current_digestto the response with the status
87 more changes in this revision
- info