aws:tldr:fb477
The aws configure wizard
command is used to launch an interactive setup wizard for configuring the AWS Command Line Interface (CLI) for your local machine.
When you run this command, it guides you through a series of prompts to set up your AWS credentials, which include the AWS Access Key ID and Secret Access Key. The wizard also allows you to configure the default AWS region and the output format for CLI commands.
Here is a breakdown of the prompts you typically encounter during the setup process:
-
AWS Access Key ID: You need to provide your AWS Access Key ID, which is a unique identifier associated with your AWS account. This key is used for authentication purposes when making API requests to AWS services.
-
AWS Secret Access Key: This is another piece of information that accompanies the Access Key ID for authentication. It is essentially a password associated with your AWS account.
-
Default AWS region name: You are prompted to specify the default region for the AWS services you interact with. The region determines the physical location where your AWS resources are located (e.g., us-east-1, eu-west-2).
-
Default output format: You are given options to choose the output format for AWS CLI commands between JSON, YAML, text, and table formats.
After completing the wizard, AWS CLI stores the provided configurations in a local configuration file called ~/.aws/config
. These settings can be later modified by manually editing this file or using other AWS CLI commands.