Documentation

Adding Amazon Web Services (AWS) to Crossplane

In this guide, we will walk through the steps necessary to configure your AWS account to be ready for integration with Crossplane.

AWS Credentials

Option 1: aws Command Line Tool

If you have already installed and configured the aws command line tool, you can simply find your AWS credentials file in ~/.aws/credentials.

Option 2: AWS Console in Web Browser

If you do not have the aws tool installed, you can alternatively log into the AWS console and export the credentials. The steps to follow below are from the AWS SDK for GO:

  1. Open the IAM console.
  2. On the navigation menu, choose Users.
  3. Choose your IAM user name (not the check box).
  4. Open the Security credentials tab, and then choose Create access key.
  5. To see the new access key, choose Show. Your credentials resemble the following:
    • Access key ID: AKIAIOSFODNN7EXAMPLE
    • Secret access key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
  6. To download the key pair, choose Download .csv file.

Then convert the *.csv file to the below format and save it to ~/.aws/credentials:

[default]
aws_access_key_id = AKIAIOSFODNN7EXAMPLE
aws_secret_access_key = wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

After the steps above, you should have your AWS credentials stored in ~/.aws/credentials.