Get Credential
Retrieve a credential by its ID
The ID of the credential
Ok
{
"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"
}
}
Credential ID
Credential type
Account type
Username
Password
The timestamp at which credential was created
The timestamp at which credential was last modified
Represents expiration details of the credential
Represents the credential resource in the system
Represents a auto-rotate policy for a credential
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.
Not Found
"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/{id}