URL
POST https://{api-url}/api/v2/tenants/{tenantId}/credentialSets
Sample URLs
https://{api-url}/api/v2/tenants/client_12/credentialSets
Parameters
Field | Data Type | Description |
---|---|---|
name | String | Credential set name. |
credentialType | String | Credential type. Supported Values: AWS, SNMP, WINDOWS, VNC, VMWARE |
domainName | String | (Optional) omain name. |
userName | String | (Optional) Credentials of user. |
password | String | (Optional) Credentials of user. |
transportType | String | (Optional) Transport layer type. Supported Values: HTTP, SNMP, SSH, TELNET |
secure | Boolean | (Optional) |
community | String | (Optional) |
port | String | (Optional) |
snmpVersion | String | (Optional) |
description | String | (Optional) |
autoEnableMode | Boolean | (Optional) |
universal | Boolean | (Optional) |
spUserName | String | (Optional) |
spPassword | String | (Optional) |
spAuthScope | String | (Optional) |
spSecure | String | (Optional) |
spPort | String | (Optional) |
fileAuthScope | String | (Optional) |
esxUserName | String | (Optional) |
esxPassword | String | (Optional) |
spNameSpace | String | (Optional) |
authProtocol | String | (Optional) |
encryptPassword | String | (Optional) |
snmpContext | String | (Optional) |
securityLevel | String | (Optional) Security level. Supported Values: NOAUTHNOPRIV, AUTHPRIV, AUTHNOPRIV, BASIC, OAUTH2 |
securityName | String | (Optional) |
apiEndPoint | String | (Optional) |
accountId | String | (Optional) |
accountName | String | (Optional) |
accountKey | String | (Optional) |
managementCertificate | String | (Optional) |
managementCertificatePassphrase | String | (Optional) |
sshCredentialType | String | (Optional) SSH credential type. Supported Values: PASSWORD, KEYPAIR |
collectorType | String | (Optional) Collector type. Supported Values: API, CLI, APIANDCLI, SMIS, UNKNOWN |
timeoutMs | String | (Optional) Time out, represented in milliseconds. |
assignedDevices | String | (Optional) |
enablePassword | String | (Optional) |
Status code
200 OK
Sample request
{
"name": "01. CREATE CREDENTIAL",
"description": "TESTING FROM API",
"credentialType": "AWS",
"accountName": "12345",
"accountId": "John@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": []
}