Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.keys.signing.rotate(); } main();
{ "cert": "-----BEGIN CERTIFICATE-----\r\nMIIDDTCCA...YiA0TQhAt8=\r\n-----END CERTIFICATE-----", "kid": "21hi274Rp02112mgkUGma" }
Rotate the application signing key of your tenant.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Signing key rotated successfully.
Next key certificate
Next key id