View on GitHub

AWS CLI Aliases

AWS Command Line Aliases

Download this project as a .zip file Download this project as a tar.gz file

๐Ÿ› ๏ธ AWS CLI Aliases

GitHub Repo Size GitHub Code Size in Bytes GitHub Last Commit GitHub Commit Activity

๐Ÿ“‘ 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

Codacy Badge codecov

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

docker-publish docker-hub

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!

๐Ÿ“ License

MIT License

๐Ÿ’ฐ Donate

Patreon