Skip to content

Commit 45aaf82

Browse files
committed
docs: use recommended AWS CLI authentication
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
1 parent 6b2cc33 commit 45aaf82

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

.envrc.example

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
export AWS_REGION=... # AWS region to use, e.g. eu-west-1
2-
export AWS_DEFAULT_REGION=$AWS_REGION
3-
export AWS_ACCESS_KEY_ID= ... # Your AWS Access Key ID
4-
export AWS_SECRET_ACCESS_KEY=... # Your AWS Secret Access Key
5-
61
# Suppress warnings caused by using the latest Node.js version
72
export JSII_SILENCE_WARNING_UNTESTED_NODE_VERSION=1
83
export NODE_NO_WARNINGS=1

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ npm-debug.log
77
.swc/
88
cdk.out/
99
dist/
10-
.envrc
1110
/certificates/
1211
cdk.context.json
1312
e2e-test-result.json

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ using [AWS CDK](https://aws.amazon.com/cdk) in
1616

1717
### Setup
1818

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

22-
### Install the dependencies
21+
Install the dependencies:
2322

2423
```bash
2524
npm ci

0 commit comments

Comments
 (0)