次の方法で共有


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 のインスタンス。 このパラメーターは必須です。

型:PsApiManagementContext
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:True
ワイルドカード文字を受け取る:False

-DefaultProfile

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

型:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
配置:Named
規定値:None
必須:False
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-Type

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

型:PsApiManagementIdentityProviderType
指定可能な値:Facebook, Google, Microsoft, Twitter, Aad, AadB2C
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:True
ワイルドカード文字を受け取る:False

入力

PsApiManagementContext

PsApiManagementIdentityProviderType

出力

PsApiManagementClientSecret