Manage Secrets
Manage client secrets for an app.
Parameters
Parameter | Description |
---|---|
Client ID | Client ID. |
Mode | Operation to perform:replace - Replace existing secrets with a new generatedsecret create - Add a new secret, preserving existing secrets* delete - Remove an existing secret by value. |
Organization ID | Unique identifier for an organization. |
Secret | The 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
Preview this Workflow on desktop