Configure Amazon credentials to use the IDT UI - FreeRTOS
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Configure Amazon credentials to use the IDT UI

You must configure your IAM user credentials for the Amazon user you created in Create an Amazon account. You can specify your credentials in one of two ways:

  • In a credentials file

  • As environment variables

IDT uses the same credentials file as the Amazon CLI. For more information, see Configuration and credential files.

The location of the credentials file varies based on the operating system you use:

  • macOS and Linux~/.aws/credentials

  • WindowsC:\Users\UserName\.aws\credentials

Add your Amazon credentials to the credentials file in the following format:

[default] aws_access_key_id = your_access_key_id aws_secret_access_key = your_secret_access_key
Note

If you don't use the default Amazon profile, you must specify the profile name in the IDT for FreeRTOS UI. For more information about profiles, see Configuration and credential file settings.

Environment variables are variables maintained by the operating system and used by system commands. They're not saved if you close the SSH session. The IDT for FreeRTOS UI uses the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables to store your Amazon credentials.

To set these variables on Linux, macOS, or Unix, use export:

export AWS_ACCESS_KEY_ID=your_access_key_id export AWS_SECRET_ACCESS_KEY=your_secret_access_key

To set these variables on Windows, use set:

set AWS_ACCESS_KEY_ID=your_access_key_id set AWS_SECRET_ACCESS_KEY=your_secret_access_key