Configure Cloud Storage Credentials (Azure BYOS only)
Select
SaaS
Customer Managed
This API creates the storage credentials for Azure Storage.
- application/json
Request Body
- name string required
credential name
- storageAccountName string required
storage account name
- accessKey string required
access key
- description string
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
- Add Azure ( I A M App) credentials
Schema
credential object
- errorMessage string
- errorCode integer
{
"credential": {
"id": 0
},
"errorMessage": "string",
"errorCode": 0
}
{
"credential": {
"id": 442
},
"errorMessage": "Successful!",
"errorCode": 0
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Credential account [testcrednt] already exists. Use other credentials.",
"errorCode": 587206339
}
POST /v4/credentials/azure/storage
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/credentials/azure/storage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"storageAccountName": "string",
"accessKey": "string",
"description": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/credentials/azure/storage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"storageAccountName": "string",
"accessKey": "string",
"description": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/credentials/azure/storage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"storageAccountName": "string",
"accessKey": "string",
"description": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/credentials/azure/storage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"storageAccountName": "string",
"accessKey": "string",
"description": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/credentials/azure/storage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"storageAccountName": "string",
"accessKey": "string",
"description": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/credentials/azure/storage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"storageAccountName": "string",
"accessKey": "string",
"description": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/credentials/azure/storage' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"storageAccountName": "string",
"accessKey": "string",
"description": "string"
}'