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 のインスタンス。 このパラメーターは必須です。
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 |
-ResourceId
承認サーバーの Arm リソース識別子。 指定した場合は、識別子によって承認サーバーを検索しようとします。 このパラメーターは必須です。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ServerId
承認サーバーの識別子。 指定した場合は、識別子によって承認サーバーが検索されます。 このパラメーターは省略可能です。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |