NAME
Test-KdsRootKey
SYNOPSIS
Tests the root key configuration.SYNTAX
Test-KdsRootKey [-KeyId]
[-Confirm] [-WhatIf] [ ] DESCRIPTION
The Test-KdsRootKey cmdlet tests that the root key with the specified key identifier (ID) uses a valid
configuration. The test verifies generation of both new group public key and group private key. This cmdlet is useful for analyzing failures based on invalid root key configuration failures.PARAMETERS
-KeyId
Specifies the ID of the root key to test. Required? true Position? 1 Default value noneAccept pipeline input? True (ByPropertyName)
Accept wildcard characters? false-Confirm [
Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. Required? false Position? named Default value false Accept pipeline input? false Accept wildcard characters? false] -WhatIf [
Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. Required? false Position? named Default value false Accept pipeline input? false Accept wildcard characters? false] This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216). INPUTS
None This cmdlet accepts no input objects.OUTPUTS
System.Boolean This cmdlet returns whether the root key can be used to generate derived keys.Example 1: Test the root key configuration
PS C:\>Test-KdsRootKey -KeyId 4A3615F1-5A90-22E4-0B1D-1416F93D4412
This command tests the configuration of the root key specified by key ID.RELATED LINKS
Add-KdsRootKey
Clear-KdsCache
Get-KdsConfiguration
Set-KdsConfiguration
Add-KdsRootKey