< Back

Get-Vault

Sat Jan 18, 2020 9:52 pm

NAME Get-Vault



SYNOPSIS

Return an Object containing Vault connection details.





SYNTAX

Get-Vault [[-Address] <String>] [[-Token] <String>] [<CommonParameters>]





DESCRIPTION

This is session variable required by all other Cmdlets.





PARAMETERS

-Address <String>

Server Address



Required? false

Position? 1

Default value $env:VAULT_ADDR

Accept pipeline input? false

Accept wildcard characters? false



-Token <String>

Client token



Required? false

Position? 2

Default value $env:VAULT_TOKEN

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.Management.Automation.PSObject





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



PS C:\\>$vault = Get-Vault -Address 127.0.0.1 -Token 46e231ee-49bb-189d-c58d-f276743ececa















RELATED LINKS