Skip to content

LanikSJ/awscli-aliases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS CLI Aliases

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

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