Get Credential
Get a Credential Instance using the identifier specified
Request
URI
GET
https://{api_host}/suite-api/api/credentials/{id}
COPY
Path Parameters
string
id
Required
The identifier of the specific Credential Instance
Responses
200
The Credential Instance
Returns
credential
of type(s)
application/json
"{\n \"id\" : \"2bb401b3-7bb0-4f07-9348-e44ed12b5d83\",\n \"name\" : \"My VC Credential\",\n \"adapterKindKey\" : \"VMWARE\",\n \"credentialKindKey\" : \"PRINCIPALCREDENTIAL\",\n \"fields\" : [ {\n \"name\" : \"USER\",\n \"value\" : \"root\"\n }, {\n \"name\" : \"PASSWORD\"\n } ]\n}"
string As uuid
As uuid
id
Optional
Credential Instance identifier.
This should be null for credential instance creation requests and must have a value for all other requests.
string
name
Required
Constraints:
minLength: 3
maxLength: 200
The name of the Credential
string
adapterKindKey
Required
The Adapter Kind key of the Credential
string
credentialKindKey
Required
The credential kind of the credential
array of
object
fields
Optional
Collection of name,value pairs that capture the credential specific data
boolean
editable
Optional
Is credential editable or not
404
The Credential Instance does not exist
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/suite-api/api/credentials/{id}