Passer au contenu principal
POST
/
keys
/
encryption
/
{kid}
/
wrapping-key
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"
}

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de chemin

kid
string
requis

Encryption key ID

Réponse

The public wrapping key was successfully created.

public_key
string
requis

Public wrapping key in PEM format

algorithm
enum<string>
requis

Encryption algorithm that shall be used to wrap your key material

Options disponibles:
CKM_RSA_AES_KEY_WRAP