VED-867: Change Secret Location#1282
VED-867: Change Secret Location#1282Akol125 wants to merge 3 commits intostaging/VED-16-mns-vacc-event-notificationsfrom
Conversation
|
This branch is working on a ticket in the NHS England VED JIRA Project. Here's a handy link to the ticket: VED-876 |
| self.secret_name = ( | ||
| f"imms/pds/{environment}/jwt-secrets" | ||
| f"imms/outbound/{environment}/jwt-secrets" | ||
| if service == Service.PDS |
There was a problem hiding this comment.
is this correct - isnt environment int only, not dev etc?
Please correct me if I'm wrong, I thought we have the same secret name for int and dev?
There was a problem hiding this comment.
So, we have set the environment variables for all our external api clients in terraform tf.vars and it would either only be int for dev and preprod environment or prod for prod environment. so this {environment} here is passed as a parameter that is derived whenever AppRestrictedAuth is instantiated either through mns or pds.
There was a problem hiding this comment.
I know we have done so for the new INT app (as we established this morning), but have we done the same for the PROD one?
I would like us to NOT merge this until it the pre-requisite is done for both apps so this can be released at any time. Otherwise this will mean we will have to cut around it on
master.Additionally, this work is not intrinsically part of the MNS work, so it should not point at the staging branch. It should point at the
masterbranch. If we bundle this up with the MNS work, it will mean that we then add another dependency on our old PDS and MNS permissions being replicated to the new app.It might be better to leave flexibility on the MNS work to use either the new or old apps (in case the process for the old app takes a while).
Can disregard the above comment. Decision seems to be to use the new app for MNS Publish and in parallel get the existing permissions of the old app added to the new one. No problem with this, just need to be mindful to ensure we are progressing those tasks so the work does not get blocked.
I am happy with the changes.
Dismissing my review. I will no longer be responsible for approving or requesting changes on PRs, as my last day is tomorrow.
|
|
Closing as changes were covered off by: #1278 |



Summary
Change secret manager location in codebase to reflect the changes made to AWS Secret Manager private Key.
Add any other relevant notes or explanations here. Remove this line if you have nothing to add.
Reviews Required
Review Checklist
ℹ️ This section is to be filled in by the reviewer.