Prerequisites for Using AWS CLI
Jan 12, 2025
Below are the list of requirements and steps to set up and use the AWS CLI effectively.
a.) An AWS Account to interact with AWS services using the CLI
b.) IAM Account.
c.) Configuring AWS CLI.
After installing the AWS CLI, you need to configure it with your AWS credentials.
Run the following command.
$ aws configure
After configuring it, aws cli creates 2 configuration files under aws folder in user home directory -
The configuration is saved in:
- Credentials file: ~/.aws/credentials
- Config file: ~/.aws/config
In case of windows, can find the config in below path.