-
Notifications
You must be signed in to change notification settings - Fork 0
Read PodeSecret
Read a Secret from a Secret Vault.
Read-PodeSecret [-Key] <String> [-Vault] <String> [[-Property] <String[]>] [[-ExpandProperty] <String>]
[[-ArgumentList] <Object[]>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Read a Secret from a Secret Vault.
$value = Read-PodeSecret -Key 'path/to/secret' -Vault 'VaultName'
$value = Read-PodeSecret -Key 'key_of_secret' -Vault 'VaultName' -Property prop1, prop2
An optional array of Arguments to be supplied to a custom Secret Vault's scriptblocks.
Type: Object[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
An optional Property to be expanded from the Secret and return if it contains multiple properties.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The 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: False
An optional array of Properties to be returned if the Secret contains multiple properties.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The 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: 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