/create-key

Body Params
string
required

Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, AES128CBC, AES256CBC, RSA1024, RSA2048, RSA3072, RSA4096]

string

Common name for the generated certificate. Relevant only for generate-self-signed-certificate.

string

Country name for the generated certificate. Relevant only for generate-self-signed-certificate.

string

Digest algorithm to be used for the certificate key signing.

string

Locality for the generated certificate. Relevant only for generate-self-signed-certificate.

string

Organization name for the generated certificate. Relevant only for generate-self-signed-certificate.

string

Province name for the generated certificate. Relevant only for generate-self-signed-certificate.

int64

TTL in days for the generated certificate. Required only for generate-self-signed-certificate.

string

The csr config data in base64 encoding

string

The customer fragment ID that will be used to create the key (if empty, the key will be created independently of a customer fragment)

string

Protection from accidental deletion of this object [true/false]

string

Description of the object

boolean

Whether to generate a self signed certificate with the key. If set, --certificate-ttl must be provided.

string
Defaults to SHA256

Specifies the hash algorithm used for the encryption key's operations, available options: [SHA256, SHA384, SHA512]

boolean
Defaults to false

Set output format to JSON

string

Deprecated - use description

string
required

Key name

int64
Defaults to 3

The number of fragments that the item will be split into (not includes customer fragment)

tag
array of strings

List of the tags attached to this key

tag
string

Authentication token (see /auth and /configure)

string

The universal identity token, Required only for universal_identity authentication

Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
Footer Section