Skip to main content

Create Credential

Select

SaaS
Customer Managed

Create a new credential

Request Body

  • accountType CredentialAccountType required

    Possible values: [WINDOWSACCOUNT, LINUXACCOUNT, STORAGE_ARRAY_ACCOUNT, CLOUD_ACCOUNT]

  • vendorType CloudVendorType

    Possible values: [ALICLOUD_OSS, AMAZON_GLACIER, AMAZON, ATT_SYNAPTIC, REVERA_VAULT, CEPH_OBJECT_GATEWAY_S3, CMCC_ONEST, CLOUDIAN_HYPERSTORE, DELL_EMC_ECS_S3, EMC_ATMOS, FUJITSU_STORAGE_ETERNUS, GOOGLE_CLOUD, HDS_HCP, HITACHI_VANTARA_HCP_S3, HUAWEI_OSS, IBM_CLOUD, IBM_CLOUD_S3, INSPUR_CLOUD, IRON_MOUNTAIN_CLOUD, KINGSOFT_KS3, MICROSOFT_AZURE_TYPE, NETAPP_STORAGEGRID, NUTANIX_BUCKETS, OPENSTACK, AMPLIDATA, RACKSPACE_CLOUD_FILES, S3_COMPATIBLE, SALESFORCE_CONNECTED_APP, SCALITY_RING, TELEFONICA_OPEN_CLOUD_OBJECT_STORAGE, VERIZON_CLOUD, WASABI_HOT_CLOUD_STORAGE]

    Cloud vendor types appilcable only for Cloud Account type

  • name string required

    Name of Credential

  • userAccount string required

    User account of Credential

  • password string required

    Password of Credential. Password must be in base64 encoded format.

  • description string

    Description of Credential

Responses

OK


Schema
  • id int32
  • type string
POST /v4/credential    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body

{
"accountType": "WINDOWSACCOUNT",
"vendorType": "ALICLOUD_OSS",
"name": "string",
"userAccount": "string",
"password": "string",
"description": "string"
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Credential' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"accountType": "WINDOWSACCOUNT",
"vendorType": "ALICLOUD_OSS",
"name": "string",
"userAccount": "string",
"password": "string",
"description": "string"
}'