1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
Installing the AWS CLI is listed in the prerequisites for using AWS SAM.
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/prerequisites.html
An AWS account, AWS Identity and Access Management (IAM) credentials, and an IAM access key pair.
The AWS Command Line Interface (AWS CLI) to configure AWS credentials.
If you want to set the authentication information without using the AWS CLI, you can also set it as a shell environment variable as shown below.
The following commands can be used on Linux or Mac.
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html
export AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
export AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
export AWS_DEFAULT_REGION=us-west-2
Relevant content
- asked 5 years ago
- asked 4 months ago
- asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
Thank you, I really missed this one within many others...