Get-VIOauth2Client
This cmdlet retrieves the OAuth2 clients available on a vCenter Server system.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
Id | String[] | named |
|
Filters the OAuth2 clients by ID. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. |
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional | Name | String[] | named |
|
Filters the OAuth2 clients by name. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. |
Output
VMware.VimAutomation.ViCore.Types.V1.IdentityBroker.OAuth2ClientExamples
Example 1
Get-VIOauth2Client -Name "MyOAuth2Client*"
Retrieves all OAuth2 clients with names that start with "MyOAuth2Client".
Example 2
Get-VIOauth2Client -Id "MyOAuth2Client1"
Retrieves OAuth2 client with ID "MyOAuth2Client1"
Related Commands
VIOAuth2Client
Creates a new OAuth2 client registration with the VMware Identity Broker.
Deletes a registration for a specified OAuth2 client from the VMware Identity Broker.
Updates the configuration of the OAuth2 client registered with the VMware Identity Broker.
VIOAuth2ClientSecretRotation
Forces an immediate secret rotation for a specific OAuth 2 client.
Initiates a rotation of the secret of an OAuth 2 client.
VIOauth2Client
This cmdlet retrieves the OAuth2 clients available on a vCenter Server system.
VIObjectByVIView
This cmdlet converts a vSphere View object to a VIObject.