Get-AzApiManagementIdentityProviderClientSecret
Get the identity provider client secret.
Syntax
Get-AzApiManagementIdentityProviderClientSecret
-Context <PsApiManagementContext>
-Type <PsApiManagementIdentityProviderType>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get the identity provider client secret.
Examples
Example 1: Get the client secret of AAD Type Identity Provider
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementIdentityProviderClientSecret -Context $apimContext -Type Aad
Gets the client secret of the Identity Provider Configuration of Azure Active Directory.
Parameters
-Context
Instance of PsApiManagementContext. This parameter is required.
Type: | PsApiManagementContext |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Type
Identifier of a Identity Provider. This parameter is required.
Type: | PsApiManagementIdentityProviderType |
Accepted values: | Facebook, Google, Microsoft, Twitter, Aad, AadB2C |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
PsApiManagementIdentityProviderType
Outputs
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure PowerShell