Create Credential
Create a new Credential Instance
The Credential Instance information
Show optional properties
{
"name": "string",
"adapterKindKey": "string",
"credentialKindKey": "string"
}
"{\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}"
Credential Instance identifier.
This should be null for credential instance creation requests and must have a value for all other requests.
The name of the Credential
The Adapter Kind key of the Credential
The credential kind of the credential
Collection of name,value pairs that capture the credential specific data
Is credential editable or not
The Credential Instance created
"{\n \"id\" : \"c01232b6-78d3-46e2-aec7-e1bd2b42ac38\",\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}"
Credential Instance identifier.
This should be null for credential instance creation requests and must have a value for all other requests.
The name of the Credential
The Adapter Kind key of the Credential
The credential kind of the credential
Collection of name,value pairs that capture the credential specific data
Is credential editable or not
Invalid request parameters or request body
Credential Instance with same name already exists
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"adapterKindKey:"string","credentialKindKey:"string","name:"string"}' https://{api_host}/suite-api/api/credentials