Encryption
Operations related to encryption and security
Encrypt Project Shares
POST
/project/encryptEncrypts all project shares using the provided encryption part
Register Encryption Session
POST
/project/encryption-sessionCreates a one-time encryption session for secure operations
Register Encryption Key
POST
/project/encryption-keyGenerates and registers a new encryption key for the project
Prepare Encryption Key Rotation
POST
/project/rotate-encryption-key/prepareVerifies the current encryption part and returns the project's half of a new key. Nothing changes until commit. Preparing again replaces the pending key. A pending key expires after 15 minutes.
Commit Encryption Key Rotation
POST
/project/rotate-encryption-key/commitRe-encrypts every project-entropy share under the prepared key and
makes it current. Repeating the commit returns
status: already_committed, so a lost response is safe to retry.