Get Cyber Resilience Credentials
Select
SaaS
Customer Managed
Retrieve the list of credentials for Cyber Resilience
Query Parameters
- retrieveConfiguredOnly boolean
If set to true, retrieve only the credentials that are configured
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- credentials object[]
{
"credentials": [
{
"id": 0,
"name": "string",
"vendorType": "ALICLOUD_OSS",
"configured": true,
"lastSyncedAt": 0
}
]
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorCode CyberResilienceErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,INDEX_SERVER_NOT_EXIST
,INDEX_SERVER_INACCESSIBLE
,INDEX_SERVER_DATA_ANALYTICS_ROLE_MISSING
,CREDENTIAL_UNSUPPORTED
,CREDENTIAL_INACCESSIBLE
,CYBER_RESILIENCE_ALREADY_CONFIGURED
,CYBER_RESILIENCE_NOT_CONFIGURED
,DELETING_UNCONFIGURED_CREDENTIAL
,ADDING_CONFIGURED_CREDENTIAL
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
,CREDENTIAL_INVALID
] - errorMessage string
{
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
GET /v4/cyberresilience/credentials
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience/Credentials' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience/Credentials' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience/Credentials' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience/Credentials' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience/Credentials' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience/Credentials' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience/Credentials' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'