From 34724d6c9537b637f50ca4ac0b6ff6afabc5bc36 Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Thu, 25 Apr 2024 15:03:24 +0200 Subject: [PATCH] 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 --- .envrc.example | 3 --- .gitignore | 1 - README.md | 5 +---- 3 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 .envrc.example diff --git a/.envrc.example b/.envrc.example deleted file mode 100644 index 175e4aa..0000000 --- a/.envrc.example +++ /dev/null @@ -1,3 +0,0 @@ -export AWS_REGION=eu-central-1 -export AWS_ACCESS_KEY_ID= -export AWS_SECRET_ACCESS_KEY= diff --git a/.gitignore b/.gitignore index 90d4f58..b13dd72 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,6 @@ npm-debug.log .swc/ cdk.out/ dist/ -.envrc /certificates/ cdk.context.json e2e-test-result.json \ No newline at end of file diff --git a/README.md b/README.md index cdcb8b2..89ff12e 100644 --- a/README.md +++ b/README.md @@ -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.