cURL
Keys
Create Key
Create KMS key
POST
cURL
Body
application/json
The ID of the project to create the key in.
The name of the key to be created. Must be slug-friendly.
Required string length:
1 - 32An optional description of the key.
Maximum string length:
500The type of key to be created, either encrypt-decrypt or sign-verify, based on your intended use for the key.
Available options:
encrypt-decrypt, sign-verify The algorithm to use when performing cryptographic operations with the key.
Available options:
aes-256-gcm, aes-128-gcm, RSA_4096, ECC_NIST_P256, ECC_NIST_P384, ECC_NIST_P521, ML_DSA_44, ML_DSA_65, ML_DSA_87 Whether the raw key material can be exported after creation. When set to false, the key can never be exported regardless of permissions. This cannot be changed after creation.
Response
Default Response