AWS CLI Keyboard Shortcuts

Complete AWS CLI keyboard shortcuts and commands reference — 41 shortcuts across 5 categories. Quick reference cheat sheet for Windows & Mac.

The AWS CLI has thousands of commands, one per API operation, so this page is not a reference — it is the nine commands that a new account needs first and that experienced users run daily. The pattern is aws service operation; once a few are familiar, the rest follow the same shape, and aws service help lists the operations.

S3 (high-level) (9)

ShortcutActionWhat it does
aws s3 cpCopies a local file or S3 object to another location locally or in S3Copies a local file or S3 object to another location locally or in S3.
aws s3 lsList S3 objects and common prefixes under a prefix or all S3 bucketsList S3 objects and common prefixes under a prefix or all S3 buckets.
aws s3 mbCreates an S3 bucketCreates an S3 bucket.
aws s3 mvMoves a local file or S3 object to another location locally or in S3Moves a local file or S3 object to another location locally or in S3.
aws s3 presignGenerate a pre-signed URL for an Amazon S3 objectGenerate a pre-signed URL for an Amazon S3 object.
aws s3 rbDeletes an empty S3 bucketDeletes an empty S3 bucket.
aws s3 rmDeletes an S3 objectDeletes an S3 object.
aws s3 syncSyncs directories and S3 prefixesSyncs directories and S3 prefixes.
aws s3 websiteSet the website configuration for a bucketSet the website configuration for a bucket.

configure (12)

ShortcutActionWhat it does
aws configureSet up credentials, default region and output format interactivelyWrites ~/.aws/credentials and ~/.aws/config; run without a subcommand.
aws configure add-modelAdds a service JSON model to the appropriate location in ~/.aws/modelsAdds a service JSON model to the appropriate location in ~/.aws/models.
aws configure agent-toolkitSet up AI coding agents with AWS skills and the AWS MCP ServerSet up AI coding agents with AWS skills and the AWS MCP Server.
aws configure export-credentialsExport credentials in various formatsExport credentials in various formats.
aws configure getGet a configuration value from the config fileGet a configuration value from the config file.
aws configure importImport CSV credentials generated from the AWS web consoleImport CSV credentials generated from the AWS web console.
aws configure listLists the profile, access key, secret key, and region configuration information used for the specified profileLists the profile, access key, secret key, and region configuration information used for the specified profile.
aws configure list-profilesList the profiles available to the AWS CLIList the profiles available to the AWS CLI.
aws configure mfa-loginThis command gets temporary AWS security credentials for use with the AWS CLI and SDK, and places them in an AWS profileThis command gets temporary AWS security credentials for use with the AWS CLI and SDK, and places them in an AWS profile.
aws configure setSet a configuration value from the config fileSet a configuration value from the config file.
aws configure ssoThe aws configure sso command interactively prompts for the configuration values required to create a profile that sources temporary AWS The aws configure sso command interactively prompts for the configuration values required to create a profile that sources temporary AWS .
aws configure sso-sessionThe aws configure sso-session command interactively prompts for the configuration values required to create a SSO sessionThe aws configure sso-session command interactively prompts for the configuration values required to create a SSO session.

STS (6)

ShortcutActionWhat it does
aws sts assume-roleReturns a set of temporary security credentials that you can use to access Amazon Web Services resourcesReturns a set of temporary security credentials that you can use to access Amazon Web Services resources.
aws sts assume-role-with-web-identityReturns a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity Returns a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity .
aws sts decode-authorization-messageDecodes additional information about the authorization status of a request from an encoded message returned in response to an Amazon Web Decodes additional information about the authorization status of a request from an encoded message returned in response to an Amazon Web .
aws sts get-access-key-infoReturns the account identifier for the specified access key IDReturns the account identifier for the specified access key ID.
aws sts get-caller-identityReturns details about the IAM user or role whose credentials are used to call the operationReturns details about the IAM user or role whose credentials are used to call the operation.
aws sts get-session-tokenReturns a set of temporary credentials for an Amazon Web Services account or IAM userReturns a set of temporary credentials for an Amazon Web Services account or IAM user.

ECR (common) (7)

ShortcutActionWhat it does
aws ecr batch-delete-imageDeletes a list of specified images within a repositoryDeletes a list of specified images within a repository.
aws ecr create-repositoryCreates a repositoryCreates a repository.
aws ecr delete-repositoryDeletes a repositoryDeletes a repository.
aws ecr describe-imagesReturns metadata about the images in a repositoryReturns metadata about the images in a repository.
aws ecr describe-repositoriesDescribes image repositories in a registryDescribes image repositories in a registry.
aws ecr get-login-passwordTo log in to an Amazon ECR registryTo log in to an Amazon ECR registry.
aws ecr list-imagesLists all the image IDs for the specified repositoryLists all the image IDs for the specified repository.

EKS (common) (7)

ShortcutActionWhat it does
aws eks create-clusterCreates an Amazon EKS control planeCreates an Amazon EKS control plane.
aws eks delete-clusterDeletes an Amazon EKS cluster control planeDeletes an Amazon EKS cluster control plane.
aws eks describe-clusterDescribes an Amazon EKS clusterDescribes an Amazon EKS cluster.
aws eks describe-nodegroupDescribes a managed node groupDescribes a managed node group.
aws eks list-clustersLists the Amazon EKS clusters in your Amazon Web Services account in the specified Amazon Web Services RegionLists the Amazon EKS clusters in your Amazon Web Services account in the specified Amazon Web Services Region.
aws eks list-nodegroupsLists the managed node groups associated with the specified cluster in your Amazon Web Services account in the specified Amazon Web ServiLists the managed node groups associated with the specified cluster in your Amazon Web Services account in the specified Amazon Web Servi.
aws eks update-kubeconfigConfigures kubectl so that you can connect to an Amazon EKS clusterConfigures kubectl so that you can connect to an Amazon EKS cluster.
📜 Source: AWS CLI Command Reference (v2). The AWS CLI has thousands of commands; this page keeps the ones almost every session uses — configure, the high-level s3 commands, STS identity and role commands, and the ECR/EKS commands used to log in and connect — each with the first sentence of its reference page. Checked 2026-09-06. How we verify ›
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Frequently Asked Questions

What are the most useful AWS CLI keyboard shortcuts?

The most essential AWS CLI shortcuts are: aws configure (Configure), aws s3 ls (List S3 buckets), aws s3 cp [src] [dst] (S3 copy).

What is the AWS CLI shortcut for configure?

The AWS CLI shortcut for configure is aws configure.

What's the fastest way to learn all AWS CLI shortcuts?

Print the AWS CLI cheat sheet and keep it next to your keyboard for the first week, then switch to active recall: open Shortcut Speedrun and practice AWS CLI shortcuts against the clock until they're automatic.

Can I combine AWS CLI shortcuts with other tools?

Yes — use My Stack to combine AWS CLI shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.

Related Shortcut Pages

Docker npm / yarn PowerShell tmux GNU Screen Lazygit

Search 18,500+ shortcuts across 268 platforms

Explore All Platforms Practice Shortcuts
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.

Identity first

aws configure stores an access key, secret, region and output format in ~/.aws; profiles (--profile name) keep several accounts separate. aws sts get-caller-identity prints the account and IAM identity the CLI is currently using, and it is the command to run before anything else when a call returns AccessDenied — more often than not the wrong profile or an expired session is in use. SSO logins use aws sso login and then work with the same commands.

S3

aws s3 ls lists buckets, and with a bucket name lists objects. aws s3 cp [src] [dst] copies a file or, with --recursive, a tree in either direction, and aws s3 sync [src] [dst] copies only what changed — the command for deploying a static site or mirroring a backup, and --delete removes files that are gone from the source. The s3 commands are high-level; s3api exposes every raw operation when a flag is missing.

Compute and deployment

aws ec2 describe-instances lists instances with their state and IPs — pair it with --query (JMESPath) and --output table to make it readable. aws ecs list-services and aws lambda list-functions inventory containers and functions in the current region. aws cloudformation deploy creates or updates a stack from a template in one idempotent command, which is the CLI route for infrastructure changes when Terraform is not in use.

🤖 Ask AI about AWS CLI shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok