次の方法で共有


Get-AzApiManagementTenantAccessSecret

テナントのアクセス構成キーを取得します。

構文

Get-AzApiManagementTenantAccessSecret
   -Context <PsApiManagementContext>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

説明

テナントのアクセス構成キーを取得します。

例 1: テナント アクセス構成キーを取得する

$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementTenantAccessSecret -Context $apimContext

このコマンドは、指定されたコンテキストのテナント アクセス構成キーを取得します。

パラメーター

-Context

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

型:PsApiManagementContext
Position:Named
既定値:None
必須:True
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

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

型:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
既定値:None
必須:False
Accept pipeline input:False
Accept wildcard characters:False

入力

PsApiManagementContext

出力

PsApiManagementAccessInformation