Create Named Credential
Create a new namedCredential in VCD.
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/namedCredentials
COPY
Request Body
NamedCredential of type(s) application/json
Optional
{
"id": "urn:vcloud:namedCredential:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "string",
"org": {
"name": "string",
"id": "string"
},
"entity": {
"name": "string",
"id": "string"
},
"username": "string",
"password": "string",
"behavior": {
"name": "string",
"id": "string"
}
}
string
id
Optional
URN of the namedCredential.
string
name
Required
Name of the namedCredential object.
string
username
Required
user name
string
password
Required
password
Responses
201
Created
Returns NamedCredential of type(s) application/json;version=37.3
{
"id": "urn:vcloud:namedCredential:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "string",
"org": {
"name": "string",
"id": "string"
},
"entity": {
"name": "string",
"id": "string"
},
"username": "string",
"password": "string",
"behavior": {
"name": "string",
"id": "string"
}
}
string
id
Optional
URN of the namedCredential.
string
name
Required
Name of the namedCredential object.
string
username
Required
user name
string
password
Required
password
Availability
Added in 38.0.0-alpha
Named Credential Operations
POST
Create Named Credential
POST
Create Named Credential Access Control Grant
DELETE
Delete Named Credential
GET
Get Named Credential
GET
Get Named Credential Access Control Grant
GET
Query Named Credential Access Control Grants
GET
Query Named Credentials
DELETE
Remove Named Credential Access Control Grant
PUT
Update Named Credential
PUT
Update Named Credential Control Grant