Search⌘ K
AI Features

Configuring Access Credentials

Understand the process of creating and configuring AWS access credentials to enable local development and deployment of serverless applications with AWS Lambda. This lesson guides you through generating access keys, assigning permissions, setting default regions, and verifying configurations to ensure seamless integration with AWS services using the SAM 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
...