Επεξεργασία

Κοινή χρήση μέσω


Remove-AzureADMSApplicationKey

Removes a key from an application.

Syntax

Remove-AzureADMSApplicationKey
      -ObjectId <String>
      [-KeyId <String>]
      [-Proof <String>]
      [<CommonParameters>]

Description

Removes a key from an application.

Examples

Example 1: Removes a key credential from an application

PS C:\>Remove-AzureADMSApplicationKey -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb" -KeyId "aaaaaaaa-0b0b-1c1c-2d2d-333333333333" -Proof {token}

This command removes the specificed key credential from the specified application.

Parameters

-KeyId

The key id corresponding to the key object to be removed.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ObjectId

The unique identifier of the object specific Azure Active Directory object

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Proof

The JWT token provided as a proof of possession.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

string