Configure idem-aws#

Credential management in Idem is handled by the Idem acct module. Details about this module can be found on the acct gitlab repo README. By default the idem-aws acct plugin will use the default AWS configuration that the logged in user already has configured.

In this Quickstart we’re going to provide the AWS Access Key ID and AWS Secret Access Key to the AWS cli app. There are other ways to provide access through IAM roles. Please refer to the official AWS Best Practices for Managing AWS access keys document.

If you have already configured your environment with access to your AWS account you can skip to the Idem Command page.

Install AWS CLI#

If you don’t already have credentials set up you can install the AWS CLI to set them up.

For details, follow the official AWS CLI instructions. For convenience we’ve included the instructions below.

For Linux

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

Test your installation:

aws --version
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /

Test your installation:

aws --version
msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msi

To confirm the installation, opent the Start menu, search for cmd to open a command prompt window, and at the command prompt use the aws –version command.

C:\> aws --version
aws-cli/2.7.24 Python/3.8.8 Windows/10 exe/AMD64 prompt/off

Needed AWS Creds#

You’ll need the following AWS Credential info:

  • AWS Access Key ID

  • AWS Secret Access Key

  • Your default region name you wish to use. (such as us-west-2)

Configure AWS#

Once you’ve got the AWS ClI installed you can run the following command and follow the prompts:

aws configure

Here is some more info regarding credentials: Boto docs