Skip to content

Commit

Permalink
Merge pull request #13 from mauricioschneider/patch-1
Browse files Browse the repository at this point in the history
Explain preferred authentication method for AWS CLI
  • Loading branch information
tjanczuk authored Jan 19, 2024
2 parents 5d71869 + 4c12702 commit 2dfe6a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/tutorials/first-deployment-to-aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ LetsGo requires that you have an Amazon Web Service (AWS) account and are able t
1. To create a new AWS account, go [here](https://aws.amazon.com/free).
1. To install and configure AWS CLI, follow [these instructions](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html).

Note that the recommended authentication method for AWS CLI is to use short-lived tokens, and to manage users via AWS IAM Identity Center. You can [enable](https://docs.aws.amazon.com/singlesignon/latest/userguide/get-set-up-for-idc.html) AWS IAM Identity Center at no cost, and then [set up users, groups, and appropriate permissions.](https://docs.aws.amazon.com/singlesignon/latest/userguide/quick-start-default-idc.html)

Once you have configured AWS IAM Identity Center to your liking, you can use the `aws configure sso` wizard to establish a session in your AWS CLI, as described [here.](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-quickstart.html)

For security purposes, you can modify the session duration in AWS IAM Identity Center following [these instructions.](https://docs.aws.amazon.com/singlesignon/latest/userguide/howtosessionduration.html)

When you are done, you should be able to run the following:

```bash
Expand Down

0 comments on commit 2dfe6a8

Please sign in to comment.