forked from Badgerati/Pode
-
Notifications
You must be signed in to change notification settings - Fork 0
Update PodeSecret
mdaneri edited this page Mar 10, 2025
·
1 revision
Update the value of a mounted Secret.
Update-PodeSecret -Name <String> [-InputObject] <Object> [-Metadata <Hashtable>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Update the value of a mounted Secret in a Secret Vault. You can also use "$secret:<NAME> = $value" syntax in certain places.
Update-PodeSecret -Name 'SecretName' -InputObject @{ key = value }
Update-PodeSecret -Name 'SecretName' -InputObject 'value'
$secret:SecretName = 'value'
The value to use when updating the Secret. Only the following object types are supported: byte[], string, securestring, pscredential, hashtable.
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
An optional Metadata hashtable.
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The friendly Name of a Secret.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
sss
x