Configure AWS credentials to use the IDT UI - FreeRTOS

Configure AWS credentials to use the IDT UI

You must configure your IAM user credentials for the AWS user you created in Create an AWS 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 AWS 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 AWS 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 AWS 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 AWS 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