Skip to main content

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:

Problem with the service

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.

  1. Validate logs from EKS namespace such as data-platform-find-moj-data-preprod - it should show you the client token error
  2. Go to portal.azure.com and then search for App registrations
  3. In App registration, search for the respective find moj application such as find-moj-data-preprod
  4. Under Manage, got to Certificates and secrets
  5. Select Client secrets
  6. If your secret has expired then you need to add a new secret and take a note of the secret value
  7. Add secret value to the application’s repo > environment variables/secrets section. There you will see a value called AZURE_CLIENT_SECRET
  8. 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 .