Documentation is now available for the Fall 2020 Update release!

Create credential sets

This endpoint is used to create a credential set.

Leave Feedback

URL

POST https://{api-url}/api/v2/tenants/{tenantId}/credentialSets

Sample URLs

https://{api-url}/api/v2/tenants/client_12/credentialSets

Parameters

FieldData TypeDescription
nameStringCredential set name.
credentialTypeStringCredential type.
Supported Values: AWS, SNMP, WINDOWS, VNC, VMWARE
domainNameString(Optional) Domain name.
userNameString(Optional) Credentials of user.
passwordString(Optional) Credentials of user.
transportTypeString(Optional) Transport layer type.
Supported Values: HTTP, SNMP, SSH, TELNET
secureBoolean(Optional)
communityString(Optional)
portString(Optional)
snmpVersionString(Optional)
descriptionString(Optional)
autoEnableModeBoolean(Optional)
universalBoolean(Optional)
spUserNameString(Optional)
spPasswordString(Optional)
spAuthScopeString(Optional)
spSecureString(Optional)
spPortString(Optional)
fileAuthScopeString(Optional)
esxUserNameString(Optional)
esxPasswordString(Optional)
spNameSpaceString(Optional)
authProtocolString(Optional)
encryptProtocolString(Optional)
authPasswordString(Optional)
encryptPasswordString(Optional)
snmpContextString(Optional)
securityLevelString(Optional) Security level.
Supported Values: NOAUTHNOPRIV, AUTHPRIV, AUTHNOPRIV, BASIC, OAUTH2
securityNameString(Optional)
apiEndPointString(Optional)
accountIdString(Optional)
accountNameString(Optional)
accountKeyString(Optional)
managementCertificateString(Optional)
managementCertificatePassphraseString(Optional)
sshCredentialTypeString(Optional) SSH credential type.
Supported Values: PASSWORD, KEYPAIR
collectorTypeString(Optional) Collector type.
Supported Values: API, CLI, APIANDCLI, SMIS, UNKNOWN
timeoutMsString(Optional) Time out, represented in milliseconds.
assignedDevicesString(Optional)
enablePasswordString(Optional)

Status code

200 OK

Sample request

{{
    "name": "01. CREATE CREDENTIAL",
    "description": "TESTING FROM API",
    "credentialType": "AWS",
    "accountName": "12345",
    "accountId": "deepu@superadmin",
    "accountKey": "PASSWORD",
    "timeoutMs": "1500",
    "assignedDeviceGroups": [
       {
          "id": "1665"
       },
       {
          "id": "1790"
       }
    ],
    "assignedDevices": [
       {
          "uniqueId": "DEV0000016029"
       },
       {
          "uniqueId": "DEV0000015402"
       }
    ]
 }

Sample response

{
   "uniqueId": "6rHBKNjsQcJM5ssqZ7NhmZsp",
   "name": "01. CREATE CREDENTIAL",
   "secure": false,
   "port": 0,
   "snmpVersion": "V2",
   "autoEnableMode": false,
   "universal": true,
   "spSecure": false,
   "spPort": 0,
   "timeoutMs": 0,
   "assignedUsers": [],
   "assignedDevices": [],
   "assignedAcls": [],
   "assignedDeviceGroups": []
}