Update an expiring/expired client secret
Our applications rely on user athentication via Azure client secrets. Once the secrets are expired, we will see a screenshot like below:
If you have access to the Azure portal, then you can carry on the below steps. Otherwise you first need to be granted access on the portal.
- Validate logs from EKS namespace such as data-platform-find-moj-data-preprod - it should show you the client token error
- Go to portal.azure.com and then search for App registrations
- In App registration, search for the respective find moj application such as find-moj-data-preprod
- Under Manage, got to Certificates and secrets
- Select Client secrets
- If your secret has expired then you need to add a new secret and take a note of the secret value
- Add secret value to the application’s repo > environment variables/secrets section. There you will see a value called AZURE_CLIENT_SECRET
- Update that value and then reploy the main to the respective environment
This page was last reviewed on 6 June 2026.
It needs to be reviewed again on 6 December 2026
by the page owner #find-moj-data
.
This page was set to be reviewed before 6 December 2026
by the page owner #find-moj-data.
This might mean the content is out of date.
