Skip to content

Commit 5a4a3b6

Browse files
authored
Merge pull request #472 from NHSDigital/amend-notifications-env-vars
Amend notifications environment variables
2 parents c03f349 + 6abd9a0 commit 5a4a3b6

File tree

2 files changed

+28
-3
lines changed

2 files changed

+28
-3
lines changed

docs/infrastructure/environment-variables.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,30 @@ Specifies the Django environment configuration. This variable controls environme
127127
- When not set to "production", enables the `nonprod` Django app which provides development utilities
128128
- The `seed_demo_data` management command checks this env var to prevent execution in production environments
129129

130+
## NBSS_MESH_INBOX_NAME [Secret]
131+
132+
Description: Inbox identifier for NBSS MESH data. Used in conjunction with other `NBSS_MESH_*` variables to connect.
133+
134+
To rotate: Contact NHS service desk to make request for new MESH inbox.
135+
136+
## NBSS_MESH_PASSWORD [Secret]
137+
138+
Description: Inbox password for NBSS MESH data. Used in conjunction with other `NBSS_MESH_*` variables to connect.
139+
140+
To rotate: Contact NHS service desk to make request for password change.
141+
142+
## NBSS_MESH_CERT [Secret]
143+
144+
Description: SSL Cert in PEM format used to connect to MESH inbox. Used in conjunction with `NBSS_MESH_PRIVATE_KEY` for SSL connections to MESH.
145+
146+
To rotate: Contact NHS service desk to make request for new MESH inbox keystore.
147+
148+
## NBSS_MESH_PRIVATE_KEY [Secret]
149+
150+
Description: SSL private key in PEM format used to connect to MESH inbox. Used in conjunction with `NBSS_MESH_CERT` for SSL connections to MESH.
151+
152+
To rotate: Contact NHS service desk to make request for new MESH inbox keystore.
153+
130154
## NHS_NOTIFY_API_KEY [Secret]
131155

132156
Description: API Key used in HMAC signature verification when processing callback HTTP requests from NHS Notify API.

manage_breast_screening/config/.env.tpl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ API_OAUTH_PRIVATE_KEY=""
3636
API_OAUTH_TOKEN_URL=""
3737
BLOB_STORAGE_CONNECTION_STRING="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;TableEndpoint=http://127.0.0.1:10002/devstoreaccount1;"
3838
BLOB_CONTAINER_NAME="notifications-mesh-data"
39-
NBSS_MESH_INBOX_NAME="mesh-test-inbox"
40-
NBSS_MESH_PASSWORD="mesh-test-password"
41-
NBSS_MESH_SHARED_KEY="mesh-test-shared-key"
39+
NBSS_MESH_INBOX_NAME="paste-mesh-inbox-name-here"
40+
NBSS_MESH_PASSWORD="paste-mesh-password-here"
41+
NBSS_MESH_CERT="paste-pem-mesh-cert-here"
42+
NBSS_MESH_PRIVATE_KEY="paste-pem-private-key-here"
4243
NHS_NOTIFY_API_MESSAGE_BATCH_URL="https://sandbox.api.service.nhs.uk/comms/v1/message-batches"
4344
QUEUE_STORAGE_CONNECTION_STRING="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;TableEndpoint=http://127.0.0.1:10002/devstoreaccount1;"
4445
REPORTS_CONTAINER_NAME="notifications-reports"

0 commit comments

Comments
 (0)