Get Principal
Returns information about the STS used by this vCenter instance. if you do not have all of the privileges described as follows: - Operation execution requires TrustedAdmin.ReadStsInfo.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
@{link Info} a summary containing the certificates used to sign tokens and the solution user used to retrieve them.
{
"certificates": [
{
"cert_chain": [
"string"
]
}
],
"issuer": "string",
"name": "string",
"principal": {
"id": {
"domain": "string",
"name": "string"
},
"type": "STS_USER"
}
}
The certificates used by the STS to sign tokens for this vCenter.
The service which created and signed the security token.
The user-friednly name of the vCenter.
The principal used by this vCenter instance to retrieve tokens. Currently this is the vCenter solution user.
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: get