Configuring the Amazon CLI
This section explains how to configure the settings that the Amazon Command Line Interface (Amazon CLI) uses to interact with Amazon. These include your security credentials, the default output format, and the default Amazon Region.
Amazon requires that all incoming requests are cryptographically signed. The Amazon CLI does this for you. The "signature" includes a date/time stamp. Therefore, you must ensure that your computer's date and time are set correctly. If you don't, and the date/time in the signature is too far off of the date/time recognized by the Amazon service, Amazon rejects the request.
Topics
- Configuration basics
- Configuration and credential file settings
- Named profiles for the Amazon CLI
- Configuring the Amazon CLI to use Amazon IAM Identity Center (successor to Amazon Single Sign-On)
- Environment variables to configure the Amazon CLI
- Command line options
- Command completion
- Amazon CLI retries
- Sourcing credentials with an external process
- Using credentials for Amazon EC2 instance metadata
- Using an HTTP proxy
- Using an IAM role in the Amazon CLI