command branding logo

AWS CLI

Aws Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.

AWS CLI Commands List

Command Name
Command
Command Description
AWS Configure
aws configure
Configures your AWS CLI with your AWS Access Key ID, Secret Access Key, Default region name, and Default output format
Open AWS Config File
open ~/.aws/config
Opens the AWS config file in your default text editor
Open AWS Credentials File
open ~/.aws/credentials
Opens the AWS credentials file in your default text editor
Switch AWS Profile
export AWS_PROFILE=profileName
Switches the AWS profile to the specified profile name
Reverse AWS Profile
export AWS_PROFILE=default
Switches the AWS profile to the default profile
List Profiles
aws configure list-profiles
Lists all the profiles configured in the AWS CLI
List Configured Profile Stats
aws configure list
Lists the configured profile stats