/create-classic-key

Body Params
string
required

Classic Key type; options: [AES128GCM, AES256GCM, AES128SIV, AES256SIV, RSA1024, RSA2048, RSA3072, RSA4096, EC256, EC384, GPG]

string

Whether to automatically rotate every rotation_interval days, or disable existing automatic rotation [true/false]

string

Certificate in a PEM format.

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
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

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

string

Description of the object

expiration-event-in
array of strings

How many days before the expiration of the certificate would you like to be notified.

expiration-event-in
boolean

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

string

gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]

string
Defaults to SHA256

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

item-custom-fields
object

Additional custom fields to associate with the item

boolean
Defaults to false

Set output format to JSON

string

Base64-encoded classic key value

string

Deprecated - use description

string
required

ClassicKey name

string

The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)

rotation-event-in
array of strings

How many days before the rotation of the item would you like to be notified

rotation-event-in
string

The number of days to wait between every automatic rotation (1-365)

tags
array of strings

Add tags attached to this object

tags
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