[{"label":"Latest (v1.1)","version":"latest"}]
vmc
Create Credentials
DescriptionAssociate a new add on credentials with the SDDC such as HCX
Request
URLURL
https://vmc.vmware.com/vmc/api/orgs/{org}/sddcs/{sddcId}/addons/{addonType}/credentials
Path Parameters
Path Parameters
string
org
Required
Org id of the associated SDDC
string
sddcId
Required
Id of the SDDC
string
addonType
Required
Add on type
Request Body
Request Body
{
"name": "string",
"password": "string",
"username": "string"
}
string
name
Required
Name of the credentials
string
password
Required
Password associated with the credentials
string
username
Required
Username of the credentials
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
201 Created
Returns
NewCredentials
of type(s) application/json
Credentials created
string
name
Required
Name of the credentials
string
password
Required
Password associated with the credentials
string
username
Required
Username of the credentials
Errors
400
Invalid input
403
Forbidden
409
Credentials with same name exists with in the scope of addOnType
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"name":"string","password":"string","username":"string"}' https://vmc.vmware.com/vmc/api/orgs/{org}/sddcs/{sddcId}/addons/{addonType}/credentials
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-vmc-ui-servicename: credentials
x-vmw-vapi-methodname: create
[{"label":"Latest (v1.1)","version":"latest"}]
vmc