Now that we have created a user and access keys and understand how IAM policies work, it is time to put them to work to make some AWS API calls:
- First, let's get the AWS command-line interface (CLI) installed. The easiest way to do so (if you have Python and pip installed on your computer) is to run the following pip command:
pip install awscli --upgrade --user
- You can then check to see if the installation was successful by running the following command:
aws --version
For more specific instructions for your operating system, visit: https://docs.aws.amazon.com/cli/latest/userguide/installing.html.
- To add our user credentials to the AWS CLI so that we can make API calls, we can run the following command that stores our credentials under the Test profile (note that profiles allow you to manage multiple different sets of credentials from the command...