Skip to content

Commit

Permalink
docs: use recommended AWS CLI authentication
Browse files Browse the repository at this point in the history
Do not use access keys, instead link to authentication
documentation.

The recommended aproach is
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html
  • Loading branch information
coderbyheart committed Apr 25, 2024
1 parent 649a824 commit 34724d6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions .envrc.example

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ npm-debug.log
.swc/
cdk.out/
dist/
.envrc
/certificates/
cdk.context.json
e2e-test-result.json
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,10 @@ in line with these requirements would resemble the following:

## Step 1: Provide AWS Credentials

Provide your AWS credentials, for example, using the `.envrc` file (see
[the example](.envrc.example)).
[Provide your AWS credentials](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-authentication.html).

**Note**

- If opting for `.envrc`, ensure prior installation of the
[direnv](https://direnv.net/) tool.
- Ensure that the AWS credentials you provide possess adequate permissions for
CDK execution. For the sake of the demonstration, it's advisable to grant
administrative privileges.
Expand Down

0 comments on commit 34724d6

Please sign in to comment.