GET
/api/apps/{app_id}/client-secretAuthenticatedGet client secret metadata
Reports whether a client application has a client secret (is a confidential client) and when it was generated / rotated. The secret itself is never retrievable after generation. Requires management access; hardcoded apps cannot be configured.
operationId
get_api_apps_app_id_client_secretClient applicationsAuthentication & permissionsAuthenticated
Any authenticated user
- Accepted credentials
- Auth server session (refresh token cookie)
cookie "refresh_token_<auth_server_app_id>" - Access token (cookie)
cookie "access_token_<auth_server_app_id>" - Access token (Bearer)
Authorization: Bearer <JWT>
- Auth server session (refresh token cookie)
- Who may call
- Any authenticated user
Path parameters
| Name | Type | Description |
|---|---|---|
| app_id* | string | Client application id |
Responses
application/json
ClientSecretMetadataResponse
| Property | Type | Description |
|---|---|---|
| success* | true | |
| has_client_secret* | boolean | Whether the app currently has a client secret (is a confidential client) |
| created_at | number | First-generation time (ms since epoch); absent without a secret |
| updated_at | number | Last generation / rotation time (ms since epoch); absent without a secret |
JSONExample
"success"true
"has_client_secret"true
"created_at"1.5
"updated_at"1.5
Example request
bashcurl
curl -X GET 'https://auth.schemavaults.com/api/apps/<app_id>/client-secret' \
-b 'refresh_token_<auth_server_app_id>=<value>'