Skip to main content

Manage Secrets

Manage client secrets for an app.

Parameters

ParameterDescription
Client IDClient ID.
ModeOperation to perform:
replace - Replace existing secrets with a new generated
secret
create - Add a new secret, preserving existing secrets
* delete - Remove an existing secret by value.
Organization IDUnique identifier for an organization.
SecretThe secret on which to enact the operation.

Example Output

{
"data": {
"attributes": {
"access_token_ttl_seconds": 3600,
"client_id": "941b423a-e0a0-4a33-a7ca-dd9e9e6bd8cf",
"client_secret": "my-secret",
"context": "tenant",
"is_confidential": true,
"is_public": false,
"name": "My App",
"org_public_id": "1892a7fe-0da0-4000-8aec-85cba6bc3901",
"redirect_uris": [
"https://example.com/callback"
],
"scopes": [
"A"
]
},
"id": "1892a7fe-0da0-4000-8fad-df0277bd3f01",
"type": "string"
},
"jsonapi": {
"version": "1.0"
},
"links": {
"self": "https://example.com/api/this_resource"
}
}

Workflow Library Example

Manage Secrets with Snyk and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop