< Back

New-AWSVaultAlias

Sat Jan 18, 2020 7:35 pm

NAME New-AWSVaultAlias



SYNOPSIS

Creates an aws-vault alias.





SYNTAX

New-AWSVaultAlias [-AliasName] <String> [[-CommandName] <String>] [<CommonParameters>]





DESCRIPTION

When called with a command name, creates an alias that does the equivalent of

aws-vault exec $Env:AWS_PROFILE command.





PARAMETERS

-AliasName <String>

The name of the alias.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-CommandName <String>

The command to execute. If omitted, it will be assumed to be the same as

AliasName.



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



OUTPUTS





RELATED LINKS

https://www.github.com/jonscheiding/posh-awsvault