SecretsManager
Set-SMTrustDomain
SYNOPSIS
Updates a SWA trust domain
SYNTAX
Set-SMTrustDomain [-trustDomainName] <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
Updates the JWT signing and/or X.509 workload settings of a SWA trust domain. This operation is idempotent.
EXAMPLES
Example 1
Set-SMTrustDomain
Updates a SWA trust domain
PARAMETERS
-trustDomainName
The name of the trust domain.
Type: String
Parameter Sets: (All)
Aliases: name
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.