Management API
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" }
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
このページは役に立ちましたか?