Get-HgsKeyProtectionAttestationSignerCertificate
Gets the attestation signer certificates that the Key Protection Service trusts.
Syntax
Default (Default)
Get-HgsKeyProtectionAttestationSignerCertificate
[-Thumbprint <String>]
[<CommonParameters>]
Description
The Get-HgsKeyProtectionAttestationSignerCertificate cmdlet gets the attestation signer certificates that the Key Protection Service trusts
Examples
Example 1: Get all attestation certificates
PS C:\> Get-HgsKeyProtectionAttestationSignerCertificate
This command gets all the attestation certificates signers that the Key Protection Service trusts.
Example 2: Get a single attestation certificate
PS C:\> Get-HgsKeyProtectionAttestationSignerCertificate -Thumbprint "d39203a3b3544743ad552afe0615dc1f"
This command gets a single attestation certificate signer that the Key Protection Service trusts. The command looks up the certificate signer by using a thumbprint.
Parameters
-Thumbprint
Specifies the thumbprint of the attestation signer certificate to get. If you do not specify a value for this parameter, this cmdlet gets all the attestation signer certificates for trusted attestation servers.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
None
You cannot pipe input to this cmdlet.
Outputs
Microsoft.Windows.KpsServer.Common.Store.Data.AttestationCertificate
This cmdlet returns an AttestationCertificate object that represents an attestation signer certificate. The object contains the following fields:
- Certificate. The X509Certificate2 object.
- AttestationCertificatePolicy. The policy that describes further limitations on which health certificates signed by this signer certificate are trusted by the Key Protection Service.