SecretsManager
New-SMTrustDomain
SYNOPSIS
Registers a SWA trust domain
SYNTAX
New-SMTrustDomain [-name] <String> [-ErrorVariable <String>] [-WarningVariable <String>] [-WarningAction <ActionPreference>] [-InformationAction <ActionPreference>] [-OutBuffer <Int32>] [-PipelineVariable <String>] [-InformationVariable <String>] [-OutVariable <String>] [-signing_key_ttl <Int32>] [-token_ttl <Int32>] [-signing_key_type <String>] [-signature_algorithm <String>] [-Debug] [-ErrorAction <ActionPreference>] [-workload_ttl <Int32>] [-Verbose] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Registers a new SWA trust domain, optionally configuring its JWT signing and X.509 workload settings.
EXAMPLES
Example 1
New-SMTrustDomain
Registers a SWA trust domain
PARAMETERS
-name
The name of the resource.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-signing_key_type
Signing key type for JWT-SVIDs.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-signature_algorithm
Signature algorithm for JWT-SVIDs.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-signing_key_ttl
Signing key lifetime in seconds.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-token_ttl
JWT-SVID lifetime in seconds.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-workload_ttl
Workload X.509 SVID lifetime in seconds.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.