Get Credentials
Retrieve a list of credentials
The name of the resource
The IP address of the resource
The type of the resource. One among: ESXI, VCENTER, PSC, NSX_MANAGER, NSX_CONTROLLER, NSX_EDGE, NSXT_MANAGER, NSXT_EDGE, VRLI, VROPS, VRA, WSA, VRSLCM, VXRAIL_MANAGER, NSX_ALB, BACKUP
The name of the domain to which the resource belongs to (may be null in case there is no associated domain)
The page number (must be a positive number), starts with 0
The page size (must be a positive number, 0 as page size returns all records in one page
Type of the account that needs to be fetched by filtering
Ok
{
"elements": [
{
"id": "string",
"credentialType": "One among: SSO, SSH, API, FTP, AUDIT",
"accountType": "One among: USER, SYSTEM, SERVICE",
"username": "string",
"password": "string",
"creationTimestamp": "string",
"modificationTimestamp": "string",
"expiry": {
"expiryDate": "string",
"lastCheckedDate": "string",
"connectivityStatus": "One among: ACTIVE, ERROR, UNKNOWN",
"status": "One among: ACTIVE, EXPIRING, EXPIRED, UNKNOWN"
},
"resource": {
"resourceId": "string",
"resourceName": "string",
"resourceIp": "string",
"resourceType": "One among: ESXI, VCENTER, PSC, NSX_MANAGER, NSX_CONTROLLER, NSX_EDGE, NSXT_MANAGER, NSXT_EDGE, VRLI, VROPS, VRA, WSA, VRSLCM, VXRAIL_MANAGER, NSX_ALB, BACKUP",
"domainNames": [
"string"
],
"domainName": "string"
},
"autoRotatePolicy": {
"frequencyInDays": 0,
"nextSchedule": "string"
}
}
],
"pageMetadata": {
"pageNumber": 0,
"pageSize": 0,
"totalElements": 0,
"totalPages": 0
}
}
The list of elements included in this page
Represents pageable elements pagination metadata
Bad Request
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
Unauthorized
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
Forbidden
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
InternalServerError
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
curl -H 'Authorization: <value>' https://{api_host}/v1/credentials