Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.keys.encryption.rekey(); } main();
Perform rekeying operation on the key hierarchy.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The key hierarchy was successfully rekeyed.