Extension Manager Set Service Account
Update the stored authentication service account for the specified extension.
Updates the registration of the specified extension with the service account passed in the "serviceAccount"parameter. The service account will be used to authenticate the extension by invoking vCenter Server Login APIs and the user session can be used to update an Extension's data.
This method will unset the previous service account name associated with the extension.
The account name must be passed in with same case as the created account name. The account name must be suffixed with the vCenter machine id. The account name passed in must be qualified by the SSO domain for the vCenter server using the same format as userName for Login
NOTE: Account lifetime is managed by the extension owning the account.
Since: vSphere API Release 8.0.2.0
Required privileges: Extension.Update
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case ExtensionManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"extensionKey": "string",
"serviceAccount": "string"
}
Key of extension to update.
account name qualified with SSO domain.
No Content
InvalidArgument: if the account name described by "serviceAccount" is not present.
NotFound: if an extension specified by "extensionKey" is not registered or the service account is not found.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}