Get Credentials
Gets all the Credential Instances in the system. Optionally filter by adapter kind keys or credential instance identifiers.
Request
URI
GET
https://{api_host}/suite-api/api/credentials
COPY
Query Parameters
string of
array
id
Optional
Filter by Credential Instance Id
string of
array
adapterKind
Optional
Filter by Adapter Kind Id
Responses
200
List of Credential Instances
Returns
credential-instances
of type(s)
application/json
"{\n \"credentialInstances\" : [ {\n \"id\" : \"3cfcfd8b-8702-4fce-91c0-b4a8d664757c\",\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 }, {\n \"id\" : \"bbc27227-1669-4575-b68d-0922c3695895\",\n \"name\" : \"My IS Credential\",\n \"adapterKindKey\" : \"InvSvcAdapter\",\n \"credentialKindKey\" : \"PRINCIPALCREDENTIAL\",\n \"fields\" : [ {\n \"name\" : \"VCUSER\",\n \"value\" : \"root\"\n }, {\n \"name\" : \"VCPASSWORD\"\n } ]\n } ]\n}"
array of
object
credentialInstances
Optional
Collection of credentials
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/suite-api/api/credentials