Skip to content

Creating credentials for use with Amazon Rekognition and Textract

Mike Hucka edited this page Jul 23, 2019 · 1 revision

The process explained in the Amazon documentation requires getting an AWS account and an IAM user, then enabling an access key. The AWS account is typically created by a designated organizational administrator. Once you have an account, here is a summary of enabling API access.

1. Create an access key

  1. Sign in to the AWS Management Console and open the IAM console at https://console.aws.amazon.com/iam/.
  2. In the navigation pane, choose Users.
  3. Choose the name of the user you created in Create an IAM User.
  4. Choose the Security credentials tab.
  5. Choose Create access key. Then choose Download .csv file to save the access key ID and secret access key to a CSV file on your computer. Store the file in a secure location. You will not have access to the secret access key again after this dialog box closes. After you have downloaded the CSV file, click the Close button.

2. Save the data in the Handprint credentials format

For the purposes of Handprint, the keys should be stored in a simple JSON file with the following format:

{
    "aws_access_key_id": "YOUR_KEY_ID_HERE",
    "aws_secret_access_key": "YOUR_ACCESS_KEY_HERE",
    "region_name": "YOUR_REGION_NAME_HERE"
}

The region name will be something that is defined during the creation of the keys; it will be a string such as us-west-2.