メインコンテンツへスキップ
POST
https://{tenantDomain}/api/v2
/
keys
/
encryption
/
{kid}
/
wrapping-key
Go
package example

import (
    client "github.com/auth0/go-auth0/management/client"
    option "github.com/auth0/go-auth0/management/option"
    context "context"
)

func do() () {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.Keys.Encryption.CreatePublicWrappingKey(
        context.TODO(),
        "kid",
    )
}
{
  "public_key": "<string>",
  "algorithm": "CKM_RSA_AES_KEY_WRAP"
}

承認

Authorization
string
header
必須

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

パスパラメータ

kid
string
必須

Encryption key ID

レスポンス

The public wrapping key was successfully created.

public_key
string
必須

Public wrapping key in PEM format

algorithm
enum<string>
必須

Encryption algorithm that shall be used to wrap your key material

利用可能なオプション:
CKM_RSA_AES_KEY_WRAP