< Back

Get-OTSSecret

Sat Jan 18, 2020 6:07 pm

NAME Get-OTSSecret



SYNOPSIS

Retrieve a secret





SYNTAX

Get-OTSSecret [-SecretKey] <String> [[-Passphrase] <String>] [<CommonParameters>]





DESCRIPTION

Retrieve a secret





PARAMETERS

-SecretKey <String>

The unique key for this secret



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Passphrase <String>

The passphrase is required only if the secret was create with one



Required? false

Position? 2

Default value

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

System.String





OUTPUTS

System.Management.Automation.PSObject





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



PS C:\\>Get-OTSSecret -SecretKey qqevnp70b4uoiax4knzhwlhros6ne7x -Passphrase 1234















RELATED LINKS