Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.keys.encryption.createPublicWrappingKey("kid"); } main();
{ "public_key": "<string>", "algorithm": "CKM_RSA_AES_KEY_WRAP" }
Create the public wrapping key to wrap your own encryption key material.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Encryption key ID
The public wrapping key was successfully created.
Public wrapping key in PEM format
Encryption algorithm that shall be used to wrap your key material
CKM_RSA_AES_KEY_WRAP