Remove PodeSecret - mdaneri/Pode GitHub Wiki
Remove a Secret from a Secret Vault.
Remove-PodeSecret [-Key] <String> [-Vault] <String> [[-ArgumentList] <Object[]>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Remove a Secret from a Secret Vault. To remove a mounted Secret, you can pass the Remove switch to Dismount-PodeSecret.
Remove-PodeSecret -Key 'path/to/secret' -Vault 'VaultName'
An optional array of Arguments to be supplied to a custom Secret Vault's scriptblocks.
Type: Object[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe Key/Path of the Secret within the Secret Vault.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
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: FalseThe friendly name of the Secret Vault this Secret can be found in.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.