< Back

Get-PodeCookieSecret

Sat Jan 18, 2020 7:15 pm

NAME Get-PodeCookieSecret



SYNOPSIS

Retrieves a stored secret value.





SYNTAX

Get-PodeCookieSecret -Name <String> [<CommonParameters>]



Get-PodeCookieSecret [-Global] [<CommonParameters>]





DESCRIPTION

Retrieves a stored secret value.





PARAMETERS

-Name <String>

The name of the secret to retrieve.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Global [<SwitchParameter>]

If flagged, will return the current global secret value.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.String





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-PodeCookieSecret -Name 'my-secret'













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-PodeCookieSecret -Global















RELATED LINKS