Skip to content

Commit 30fdd48

Browse files
NRL-1669 Add option to pull all the certificates
1 parent b8a2058 commit 30fdd48

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ truststore-build-ca: check-warn ## Build a CA (Certificate Authority)
201201
truststore-build-cert: check-warn ## Build a certificate
202202
@./scripts/truststore.sh build-cert "$(CA_NAME)" "$(CERT_NAME)" "$(CERT_SUBJECT)"
203203

204+
truststore-build-all: check-warn ## Pull all certificates
205+
@./scripts/truststore.sh pull-all "$(ENV)"
206+
204207
truststore-pull-server: check-warn ## Pull a server certificate
205208
@./scripts/truststore.sh pull-server "$(ENV)"
206209

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ As a short guideline about profiles to assume for a typical workflow:
5656
- Assume mgmt account for stack specific terraform deployment as indicated in `terraform/infrastructure/README.md`.
5757
- Assume the specific environment for running feature tests against that environment.
5858

59-
### Set up client certificates
59+
### Set up NRLF certificates
6060

61-
In order to access the NRLF APIs, you will need to set up client certificates for mutual TLS authentication.
61+
In order to execute make commands that need AWS access, you will need to pull the NRLF certificates.
6262
In order to do this, make sure you have AWS CLI installed and configured, then run:
6363

6464
```
65-
make ENV=env truststore-pull-client
65+
make ENV=env truststore-pull-all
6666
```
6767

6868
Where `env` is one of `dev`, `test` or `prod`.

0 commit comments

Comments
 (0)