# Regenerating Client Secrets

> When using client credentials to connect your serverless robots to Orchestrator, the serverless machine template generates a client ID and client secret pair that authorizes the connection between that host machine and Orchestrator. If you feel that the secret key has been compromised, you can regenerate the client secret:

When using client credentials to connect your serverless robots to Orchestrator, the serverless machine template generates a client ID and client secret pair that authorizes the connection between that host machine and Orchestrator. If you feel that the secret key has been compromised, you can regenerate the client secret:

1. Go to **Tenant &gt; Machines**.
2. At the right of the serverless machine template row, select **More Actions**![docs image](https://dev-assets.cms.uipath.com/assets/images/orchestrator/orchestrator-docs-image-More_VT-16d3389a-960a3e20.png) and select **Edit Machine**.
3. On the **Edit Machine - Serverless** page, in the **Client credentials** section, select **Regenerate**.
