Each Amazon EC2 instance contains metadata that the AWS CLI can directly query for temporary credentials. Using Instance Profile: When you run the AWS CLI from within an Amazon EC2 instance, you can simplify providing credentials to your commands. Using Environment Variables: Environment variables provide another way to specify configuration options and credentials, and can be useful for scripting or temporarily setting a named profile as the default. To use alternate settings, you can create and reference additional profiles. Unless you specify otherwise, the CLI uses the settings found in the profile named default. The files are divided into sections that can be referenced by name. Using Configuration Files: You can save your frequently used configuration settings and credentials in files that are maintained by the AWS CLI.
Output can be in text, json or table format.
How to configure AWS CLI on Windows OS:ĪWS CLI require three mandatory parameters ( access_key, secret_key, and region) to access the resource in your AWS account. If you get the AWS CLI version that means your installation was successful. Step 4: Validate the installation by executing the below command on the command prompt.
Step 3: Follow the installation wizard and click ‘Install’ to install AWS CLI on your system.Ĭlick on ‘Finish’ once the installation is completed. Step 2: Double click on the downloaded installer and click on “Run”.
How To Install AWS CLI On Windows OS: Step 1: Log in to your windows system and download the latest version of AWS CLI using the below link.
AWS Command Line Interface (AWS CLI) is an open-source tool that enables you to interact with AWS services using commands in your command-line shell.
In this blog post, we will discuss how to install and configure AWS CLI on Windows OS. Welcome to CloudAffaire and this is Debjeet. How To Install And Configure AWS CLI On Windows OS