How to refresh Maia runner credentials
- In the left navigation, click . Then, select Runners from the menu.
- Locate your , and click the three dots …, then click Runner details.
- Click the Credentials tab.
- Click Refresh.
- When asked for confirmation, type the word
refreshand click Refresh credentials. - When you receive a notification that the credentials are refreshed, you can click Reveal to show the new secret that has been generated.
Apply the new credentials (AWS)
Once you have refreshed credentials on the Runner details page, follow this process to update your AWS-hosted to use the new credentials. The client_secret used by the is held in your AWS Secrets Manager. The app contains a pointer to this secret, which will not change. To update the secret:- Log in to the AWS Console and locate the ECS service running your . Note the name assigned to the .
- In Secrets Manager, locate and select the secret that corresponds to the name you noted.
- Click Retrieve secret value to display the existing value, then click Edit.
- Copy in the refreshed client_secret value you obtained from . Don’t change the secret name.
- Click Save.
Apply the new credentials (Azure)
Once you have refreshed credentials on the Runner details page, follow this process to update your Azure-hosted to use the new credentials.- In the Azure portal, select the Container App that holds your .
- In the Container App’s sidebar menu, select Application then containers.
- Click the Environment variables tab.
- The OAUTH_CLIENT_SECRET variable tells you the name of the secret that holds the client_secret.
- In the Container App’s sidebar menu, click Settings → Secrets and locate the secret name you determined above.
- Click the edit (pencil) icon next to the secret to edit its value.
- Copy the refreshed client_secret you obtained from and paste it into the Value field.
- Click the checkbox at the bottom to acknowledge that you want to proceed with the change.
- Click Save.
Apply the new credentials (Google Cloud)
Once you have refreshed credentials on the Runner details page, follow this process to update your GKE-hosted to use the new credentials. The client_secret is passed to the via your Helm values file (values-gcp.yaml). To update it:
- Open your
values-gcp.yamlfile. - Replace the value of
config.oauthClientSecretwith the refreshed client_secret you obtained from . - Run
helm upgradeto apply the change:
<RELEASE_NAME> and <NAMESPACE> with the values used during your original deployment (both default to matillion-agent).
The Helm upgrade performs a rolling restart of the pods, which will pick up the new credentials automatically.
