Create credential

Creates a new storage account credential.

Request

Security

Table 1. Roles capable of executing the createCredential API method
Any     Storage Account Admin
Super User     Container Admin  
System Admin     Elastic Device Provisioner  
Security Admin     Vault Provisioner  
Operator        

HTTP method

POST /manager/api/{apiResponseType}/1.0/createCredential.adm HTTP/1.1 Host:{manager.dsnet} storageAccountId={string}

Curl method


curl -u <USERNAME>:<PASSWORD>  
     -k  'https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/storageAccountPortal/createCredential.adm?storageAccountId={string}' 

Parameters

Table 2. Request Parameters for createCredential API method
Parameter Type Usage Default Description
storageAccountId String Required   The ID of the storage account.