ScalixScalix Docs

Encryption API

Field-level encryption

REST API endpoints for Encryption. 3 operations.

Decrypt data

plaintext
POST /api/v1/encryption/decrypt

Decrypts the supplied ciphertext and returns the plaintext.

Auth: Bearer API key

Responses

StatusDescription
200Decrypted plaintext
401Missing or invalid API key
500Internal error

operationId: decryptData

Encrypt data

plaintext
POST /api/v1/encryption/encrypt

Encrypts the supplied plaintext and returns the ciphertext.

Auth: Bearer API key

Responses

StatusDescription
200Encrypted ciphertext
401Missing or invalid API key
500Internal error

operationId: encryptData

Rotate the encryption key

plaintext
POST /api/v1/encryption/rotate-key

Rotates the tenant's encryption key.

Auth: Bearer API key

Responses

StatusDescription
200Key rotated
401Missing or invalid API key
500Internal error

operationId: rotateEncryptionKey