Prerequisites
- Before you can revoke a previously-used signing key, you must first have rotated the key. To learn more, read Rotate Signing Keys, or see the Rotate and revoke signing key section below.
- Make sure you have updated your application or API with the new key before you revoke the previous key.
Use the Dashboard
Revoke previously used signing key
- Go to Dashboard > Settings > Signing Keys.
- In the List of Valid Keys section, locate the Previously Used key, select the more options (…) menu, and select Revoke Key. The List of Valid Keys section lists the current signing key being used by your tenant, plus the next signing key that will be assigned should you choose to rotate your signing keys. If you have previously rotated signing keys, this section also lists the previously-used keys. The List of Revoked Keys section lists the last three revoked keys for your tenant.
- Select Revoke to confirm.
Rotate and revoke signing key
- Go to Dashboard > Settings > Signing Keys.
- In the Rotation Settings section, locate the Rotate & Revoke Signing Key section, and select Rotate & Revoke Key.
- Select Rotate & Revoke to confirm.
Use the Management API
- To get a list of the signing keys, make a
GETcall to the Get all Application Signing Keys endpoint. - Make a
PUTcall to the Revoke an Application Signing Key by its Key ID endpoint. Be sure to replace the{yourKeyId}and{yourMgmtApiAccessToken}placeholder values with your signing key’s ID and Management API access token, respectively.
Using the Auth0 CLI? Set up and authenticate it first if you’re not logged in.