Skip to content

KMS API reference

The KMS API is part of the Thalassa Cloud platform API. Full OpenAPI definitions are available in the API reference.

Base path

/v1/kms

Required headers

HeaderRequiredDescription
AuthorizationYesBearer token or equivalent credential
X-Organisation-IdentityYesOrganisation identifier
X-Project-IdentityNoProject identifier for project-scoped keys

Endpoints

MethodEndpointDescription
GET/v1/kms/summaryFeature status, per-region availability, and key counts
GET/v1/kms/{region}/keysList keys in a region
POST/v1/kms/{region}/keysCreate a key
GET/v1/kms/{region}/keys/{id}Get a key by identity or slug
GET/v1/kms/{region}/wrapping-keyBYOK wrapping key (RSA public key, PEM)
GET/v1/kms/{region}/keys/{id}/public-keyExport public key(s) by version
POST/v1/kms/{region}/keys/{id}/encryptEncrypt plaintext
POST/v1/kms/{region}/keys/{id}/decryptDecrypt ciphertext
POST/v1/kms/{region}/keys/{id}/signSign data
POST/v1/kms/{region}/keys/{id}/verifyVerify signature
POST/v1/kms/{region}/keys/{id}/hmacGenerate HMAC
POST/v1/kms/{region}/keys/{id}/verify-hmacVerify HMAC
PATCH/v1/kms/{region}/keys/{id}/rotationUpdate automatic rotation settings
POST/v1/kms/{region}/keys/{id}/rotateManual rotation
POST/v1/kms/{region}/keys/{id}/exportExport key material
POST/v1/kms/{region}/keys/{id}/disableDisable key
POST/v1/kms/{region}/keys/{id}/enableEnable key
DELETE/v1/kms/{region}/keys/{id}Schedule deletion
DELETE/v1/kms/{region}/keys/{id}/cancel-deletionCancel scheduled deletion

Replace {region} with the target cloud region (for example, nl-01) and {id} with the key identity or slug.

List filters

GET /{region}/keys supports query parameters:

ParameterDescription
identityFilter by key identity
nameFilter by name
slugFilter by slug

Regional paths

All key operations except /summary require a region in the path. Crypto calls must target the region where the key was created.

Common response codes

HTTP statusMeaning
403KMS not enabled for the organisation
404Region or key not found, or insufficient IAM (masked)
400Validation error; key disabled or pending deletion; unsupported operation
409Duplicate key slug in scope
503KMS not available in the region

See FAQ for troubleshooting.

Documentation by topic

TopicGuide
Create keysCreating keys
BYOK importBring your own key
Encrypt / decryptEncrypt and decrypt
Sign / HMACSign, verify, and HMAC
RotationRotation
LifecycleKey lifecycle
IAMAccess control

Full specification

For request and response schemas, error models, and authentication details, refer to the platform OpenAPI specification in the API reference.