Configuring Access Credentials
Understand how to configure access credentials for AWS Lambda local development using AWS SAM CLI. This lesson guides you through creating access keys, assigning IAM permissions, setting AWS CLI configurations, and verifying credentials for serverless deployments.
We'll cover the following...
We'll cover the following...
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:
- Sign in to the AWS Web Console at https://aws.amazon.com/.
- Select the Identity and Access Management (IAM) service.
- In the left-hand IAM menu, select Users.
- Click on the Create user button. On the next screen, enter a name for the user account.
- Click the Next button to assign permissions, then select Attach policies directly.
- In the list of policies, find the
PowerUserAccessandIAMFullAccesspolicies and tick the checkboxes next