Skip to content

Commit 38e110f

Browse files
include information on setting the api key in main and for TestSupplier1
1 parent cb4e885 commit 38e110f

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.env.template

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,16 @@ TARGET_ENVIRONMENT=prxx
2424

2525
# API Keys
2626
# ========
27-
# In order to find out the value of an environments given API key, follow these steps
27+
# In order to find out and set the value of NON_PROD_API_KEY follow these steps
2828
# 1. Log in to the AWS NHS Notify Suppliers Dev account
29-
# 2. Open the paramenter store and search for the parameter /dev/e2e/keys/apim/pr
29+
# 2. Open the paramenter store and search for the parameter /dev/e2e/keys/apim/pr (this key will use the supplier Supplier1)
30+
# a. to use the supplier TestSupplier1, search for the parameter /dev/e2e/keys/apim/pr/secondary
31+
# NOTE: this needs to be set to the NON_PROD_SECONDARY_API_KEY environment variable
32+
# b. If you want to run against main, search for the parameter /dev/e2e/keys/apim/main
3033
# 3. Copy the decrypted "value"
3134
# Note: For INT and higher environments use developer portal https://identity.prod.api.platform.nhs.uk/
3235
export NON_PROD_API_KEY=xxx
36+
export NON_PROD_SECONDARY_API_KEY=xxx
3337
export INTEGRATION_API_KEY=xxx
3438
export PRODUCTION_API_KEY=xxx
3539

0 commit comments

Comments
 (0)