Create Trust Authority Clusters Consumer Principals Task
Creates a profile with the specified connection information on all hosts from a Trust Authority Cluster.
Request
URLURL
Path Parameters
Path Parameters
The ID of the Trust Authority Cluster to configure. The parameter must be an identifier for the resource type: ClusterComputeResource.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
The CreateSpec specifying the connection information.
{
"certificates": [
{
"cert_chain": [
"string"
]
}
],
"issuer": "string",
"issuer_alias": "string",
"principal": {
"id": {
"domain": "string",
"name": "string"
},
"type": "STS_USER"
}
}
The certificates used by the vCenter STS to sign tokens.
The service which created and signed the security token.
A user-friendly alias of the service which created and signed the security token. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.esx.authentication.trust.security-token-issuer. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.esx.authentication.trust.security-token-issuer.
The principal used by the vCenter to retrieve tokens.
Authentication
Response
Response BodyResponse Body
An identifier for the task created by this API invocation will be returned. If the non-async version of the operation returns a value, this id can be used with the CIS Get Task operation to fetch that value. The normal description of this operation’s return value will follow if one exists. a unique identifier of the profile The result will be an identifier for the resource type: com.vmware.esx.authentication.clientprofile.
Errors
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: create_task