[{"label":"Latest (4.5.0)","version":"latest"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail

Get Credential

Description

Get Credential for the given ID

Request

Request

URL

URL


get
https://sfo-vcf01.rainpole.io/v1/credentials/{id}
Copy

Path Parameters

Path Parameters

string
id Required

The ID of the credential


Response

Response

Response Body

Response Body

200 OK

Returns Credential of type(s) application/json
{
    "accountType": "One among: USER, SYSTEM, SERVICE",
    "credentialType": "One among: SSO, SSH, API, FTP, AUDIT"
}
string
accountType Required

Account type


string
creationTimestamp Required

The timestamp at which credential was created


string
credentialType Required

Credential type


string
id Required

Credential ID


string
modificationTimestamp Required

The timestamp at which credential was last modified


resource Required

The resource which owns the credential


string
username Required

Username


autoRotatePolicy Optional

Configured auto-rotate policy of a credential. Empty if not configured


expiry Introduced Changed Optional

Password expiration details


string
password Optional

Password

Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found


500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl https://sfo-vcf01.rainpole.io/v1/credentials/{id}


[{"label":"Latest (4.5.0)","version":"latest"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail
Feedback

Was this page helpful?