Create an API Credential
- Go to HTTP Connectors > Credentials
- Click Create:

- You will be asked to provide a Credential Name
- You must choose a Credential Type

Credentials Best Practices
- Credentials are never written to disk, or stored in any way. They are only allowed to be viewed in plain text once on the Credentials Screen. Only the hash of the credential is stored.
- Note: When an account is deactivated or deleted, any associated API keys will stop working.
- Due to this security measure, Moveworks recommends generating API keys using a dedicated service account rather than an individual employee's user account.
- Using a service account enhances security by creating a stable, auditable identity for the integration that is not tied to a person’s employment status, mitigating risks from former employees and ensuring the principle of least privilege can be properly applied.
Token Expiry Details
Expiry Information:
- Secret Expiry: Client IDs, Client Secrets, & API Keys never expire.
- Access Token expiry: Every 60 seconds.
Rotation & Revocation
In the event that your credential is exposed or leaked, Moveworks recommends the following process for token rotation:
- Create a new API key following the steps outlined above under Create an API Credential.
- Update your code or integrations to leverage the new API key.
- Leverage the trash icon and delete the previous API key. Selecting delete will permanently invalidate your API key.
