Remove-Hgs Key Protection Attestation Signer Certificate

Removes an attestation signer certificate from the trusted certificates in the Key Protection Service.

Syntax

Remove-HgsKeyProtectionAttestationSignerCertificate
      -Thumbprint <String>
      [-Force]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-HgsKeyProtectionAttestationSignerCertificate cmdlet removes the signer certificate of an attestation server from the attestation signer certificates that the Key Protection Service trusts.

Examples

Example 1: Remove an attestation certificate

PS C:\> Remove-HgsKeyProtectionAttestationSignerCertificate -Thumbprint "d39203a3b3544743ad552afe0615dc1f"

This command removes a trusted attestation certificate signer. The command looks up the certificate signer to remove by using a thumbprint.

Required Parameters

-Thumbprint

Specifies the thumbprint of the attestation signer certificate to remove.

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

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Aliases: cf
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Force

Forces the command to run without asking for user confirmation.

Type: SwitchParameter
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Aliases: wi
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

Inputs

None

You cannot pipe input to this cmdlet.

Outputs

None

This cmdlet does not generate any output.