Manage Cyber Resilience Credentials
Select
Manage Credentials configured for Cyber Resilience
- application/json
Request Body
credentials object[]
refreshToken TCORefreshToken
- cyberResiliencyCloudConnector CyberResiliencyCloudConnector
Possible values: [
AZURE
,AWS
,GCP
,M365
,AD
]Default value:
AZURE
Supported Connector Types for Cyber Resilience Cost Assessment Dashboard
- cloudConnector CyberResiliencyCloudConnector
Possible values: [
AZURE
,AWS
,GCP
,M365
,AD
]Default value:
AZURE
Supported Connector Types for Cyber Resilience Cost Assessment Dashboard
- authType TCOCredentialAuthType
Possible values: [
OAUTH2
,CREDENTIAL_VAULT
]Default value:
CREDENTIAL_VAULT
Supported Credential Authentication Types for Cyber Resilience Cost Assessment Dashboard
- 200
- 400
- 403
- 500
OK
- 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"
}
Bad Request
- 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"
}
Forbidden
- 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"
}
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"
}
PUT /v4/cyberresilience/credentials
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience/Credentials' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentials": [
{
"id": 0,
"operation": "ADD"
}
],
"refreshToken": {
"RefreshTokenId": 0,
"RefreshToken": "string",
"Provider": "string",
"ErrorMesage": "string",
"ErrorCode": 0
},
"cyberResiliencyCloudConnector": "AZURE",
"cloudConnector": "AZURE",
"authType": "CREDENTIAL_VAULT"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience/Credentials' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentials": [
{
"id": 0,
"operation": "ADD"
}
],
"refreshToken": {
"RefreshTokenId": 0,
"RefreshToken": "string",
"Provider": "string",
"ErrorMesage": "string",
"ErrorCode": 0
},
"cyberResiliencyCloudConnector": "AZURE",
"cloudConnector": "AZURE",
"authType": "CREDENTIAL_VAULT"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience/Credentials' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentials": [
{
"id": 0,
"operation": "ADD"
}
],
"refreshToken": {
"RefreshTokenId": 0,
"RefreshToken": "string",
"Provider": "string",
"ErrorMesage": "string",
"ErrorCode": 0
},
"cyberResiliencyCloudConnector": "AZURE",
"cloudConnector": "AZURE",
"authType": "CREDENTIAL_VAULT"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience/Credentials' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentials": [
{
"id": 0,
"operation": "ADD"
}
],
"refreshToken": {
"RefreshTokenId": 0,
"RefreshToken": "string",
"Provider": "string",
"ErrorMesage": "string",
"ErrorCode": 0
},
"cyberResiliencyCloudConnector": "AZURE",
"cloudConnector": "AZURE",
"authType": "CREDENTIAL_VAULT"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience/Credentials' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentials": [
{
"id": 0,
"operation": "ADD"
}
],
"refreshToken": {
"RefreshTokenId": 0,
"RefreshToken": "string",
"Provider": "string",
"ErrorMesage": "string",
"ErrorCode": 0
},
"cyberResiliencyCloudConnector": "AZURE",
"cloudConnector": "AZURE",
"authType": "CREDENTIAL_VAULT"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience/Credentials' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentials": [
{
"id": 0,
"operation": "ADD"
}
],
"refreshToken": {
"RefreshTokenId": 0,
"RefreshToken": "string",
"Provider": "string",
"ErrorMesage": "string",
"ErrorCode": 0
},
"cyberResiliencyCloudConnector": "AZURE",
"cloudConnector": "AZURE",
"authType": "CREDENTIAL_VAULT"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/CyberResilience/Credentials' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentials": [
{
"id": 0,
"operation": "ADD"
}
],
"refreshToken": {
"RefreshTokenId": 0,
"RefreshToken": "string",
"Provider": "string",
"ErrorMesage": "string",
"ErrorCode": 0
},
"cyberResiliencyCloudConnector": "AZURE",
"cloudConnector": "AZURE",
"authType": "CREDENTIAL_VAULT"
}'