Get-AzApiManagementAuthorizationServerClientSecret
API Management 承認サーバーのクライアント シークレットを取得します。
構文
Get-AzApiManagementAuthorizationServerClientSecret
-Context <PsApiManagementContext>
[-ServerId <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzApiManagementAuthorizationServerClientSecret
[-ServerId <String>]
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
説明
Get-AzApiManagementAuthorizationServerClientSecret コマンドレットは、Azure API Management 承認サーバーのクライアント シークレットを取得します。
例
例 1: ID で指定された承認サーバー クライアント シークレットを取得する
$ApiMgmtContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementAuthorizationServerClientSecret -Context $ApiMgmtContext -ServerId "0123456789"
このコマンドは、指定された承認サーバー クライアント シークレットを取得します。
パラメーター
-Context
PsApiManagementContext のインスタンス。 このパラメーターは必須です。
型: | PsApiManagementContext |
配置: | Named |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | True |
ワイルドカード文字を受け取る: | False |
-DefaultProfile
Azure との通信に使用される資格情報、アカウント、テナント、サブスクリプション。
型: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-ResourceId
承認サーバーの Arm リソース識別子。 指定した場合は、識別子によって承認サーバーを検索しようとします。 このパラメーターは必須です。
型: | String |
配置: | Named |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | True |
ワイルドカード文字を受け取る: | False |
-ServerId
承認サーバーの識別子。 指定した場合は、識別子によって承認サーバーが検索されます。 このパラメーターは省略可能です。
型: | String |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | True |
ワイルドカード文字を受け取る: | False |