POST
/
api
/
v1
/
kms
/
keys

Body

application/json
name
string
required

The name of the key to be created. Must be slug-friendly.

Required string length: 1 - 32
projectId
string
required

The ID of the project to create the key in.

description
string

An optional description of the key.

Maximum length: 500
encryptionAlgorithm
enum<string>
default:
aes-256-gcm

The algorithm to use when performing cryptographic operations with the key.

Available options:
aes-256-gcm,
aes-128-gcm

Response

200 - application/json
key
object
required