Create Credentials

Create Credentials

Associated a new add on credentials with the SDDC such as HCX

Request
URI
POST
https://vmc.vmware.com/vmc/api/orgs/{org}/sddcs/{sddcId}/addons/{addonType}/credentials
COPY
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

Credentials creation payload

NewCredentials of type(s) application/json
Required
{
    "username": "string",
    "password": "string",
    "name": "string"
}
string
username
Required

Username of the credentials

string
password
Required

Password associated with the credentials

string
name
Required

Name of the credentials

Authentication
This operation uses the following authentication methods.
Responses
201

Credentials created

Returns NewCredentials of type(s) application/json
{
    "username": "string",
    "password": "string",
    "name": "string"
}
string
username
Required

Username of the credentials

string
password
Required

Password associated with the credentials

string
name
Required

Name of the credentials


400

Invalid input

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

409

Credentials with same name exists with in the scope of addOnType

Operation doesn't return any data structure