Configuring Access Credentials

In this lesson, you will learn how to set up access credentials for AWS CLI.

SAM configuration #

AWS SAM CLI reuses the credential configurations from AWS command-line tools. If you already have credentials set up for AWS CLI, skip this section.

To deploy software to the AWS cloud, you will need an access key ID and a secret key ID associated with your user account. If you do not have these already, here is how you can generate a set of keys:

  1. Sign in to the AWS Web Console at https://aws.amazon.com/.
  2. Select the Identity and Access Management (IAM) service.
  3. In the left-hand IAM menu, select Users.
  4. Click on the Add User button.
  5. On the next screen, enter a name for the user account then, in the ‘Select AWS access type’ section, select Programmatic access.

Get hands-on with 1400+ tech skills courses.