共用方式為


Get-AzureADApplicationKeyCredential

取得應用程式的金鑰認證。

語法

Get-AzureADApplicationKeyCredential
   -ObjectId <String>
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [<CommonParameters>]

Description

Get-AzureADApplicationKeyCredential Cmdlet 會取得應用程式的密鑰認證。

範例

範例 1:取得金鑰認證

PS C:\> Get-AzureADApplicationKeyCredential -ObjectId "3ddd22e7-a150-4bb3-b100-e410dea1cb84"

此命令會取得指定應用程式的金鑰認證。

參數

-InformationAction

指定此 Cmdlet 如何回應資訊事件。

此參數可接受的值為:

  • 繼續
  • 忽略
  • 詢問
  • SilentlyContinue
  • Stop
  • 暫止
類型:ActionPreference
別名:infa
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-InformationVariable

指定資訊變數。

類型:String
別名:iv
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ObjectId

指定要取得金鑰認證的 Azure Active Directory 中應用程式的唯一識別碼

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False