Get-AzApiManagementIdentityProviderClientSecret

ID プロバイダーのクライアント シークレットを取得します。

構文

Get-AzApiManagementIdentityProviderClientSecret
   -Context <PsApiManagementContext>
   -Type <PsApiManagementIdentityProviderType>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

説明

ID プロバイダーのクライアント シークレットを取得します。

例 1: AAD 型 ID プロバイダーのクライアント シークレットを取得する

$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementIdentityProviderClientSecret -Context $apimContext -Type Aad

Azure Active Directory の ID プロバイダー構成のクライアント シークレットを取得します。

パラメーター

-Context

PsApiManagementContext のインスタンス。 このパラメーターは必須です。

Type:PsApiManagementContext
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Type

ID プロバイダーの識別子。 このパラメーターは必須です。

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

入力

PsApiManagementContext

PsApiManagementIdentityProviderType

出力

PsApiManagementClientSecret