๐ ๏ธ AWS CLI Aliases
๐ Table of Contents
๐ฆ Requirements
AWS CLI 1.11.24
or higher, see
AWS CLI User Guide
for more info.
Use awscli.sh
script to install / update AWS CLI if yours is out of date.
Use aws --version
to verify.
More detailed Installation and Usage Instructions are available in the Wiki.
โก Usage
mkdir -p GitHub; cd GitHub
git clone https://github.com/LanikSJ/awscli-aliases
mkdir -p ~/.aws/cli
ln -sf ~/GitHub/awscli-aliases/alias ~/.aws/cli/alias
๐งช Test
aws whoami
Same as aws sts get-caller-identity
Output:
{
"Account": "1234567890",
"UserId": "ABCDEFGHIJKLMNOPQRSTUV",
"Arn": "arn:aws:sts::1234567890:user/UserId"
}
๐ณ Docker
If you would like to try the aliases in a docker container:
docker run \
-v ~/.aws/credentials:/home/redhat/.aws/credentials:ro \
-it ghcr.io/laniksj/awscli-aliases whoami
๐ Bugs
Please report any bugs or issues you find. Thanks!