Get App Credentials
Get App Credentials API will return a the data that match the given parameters.
Resource Informations
Name | Value |
---|---|
Requires authentication? | Yes |
Rate limited? | No |
Request
Request headers
Key | Value |
---|---|
Authorization | Bearer token |
Content-Type | application/json |
HTTP request URL for SSMS
GET https://{tenantId}.{hostname}/digitanium/v4/apps/{appname}/credentials
OR
GET https://{tenantId}.{hostname}/digitanium/v4/app/secret?appname={appname}
HTTP request URL for SHIFT
GET https://{hostname}/auth/realms/{tenantId}/v3_client/secret/{appname}
note
API requests must be made over https. Calls made over plain http will fail.
Parameters
Parameter Name | Type | Description |
---|---|---|
appname | String | Unique appName of the application |
Request body
No request body fields are required.
Response
Field Name | Type | Description |
---|---|---|
message | String | Message explains result of the API call. Refer Response status Information for details. |
status | String | The status of the API call. Refer Response status Information for details. |
subSystem | Integer | subSystem categorizes the type of API that has been called. Refer Subsystem details for details. |
data | String | The client secret, generated during app creation. |
Sample Response
{
"message": "App credential fetched successfully",
"status": "OK",
"subSystem": 2,
"data": "9d481488-156a-4801-b3f8-9e4ca24e92db"
}
Response Status Information
Status Code | Status | Message |
---|---|---|
200 | OK | App credential fetched successfully |
401 | Unauthorized | HTTP 401 Unauthorized |
404 | APP_NOT_FOUND_STATUS | App does not exist |