Partner - Store secure encrypted data
Stores base64-encoded encrypted data with checksum validation and padding type specification. The data is verified using the enclave before storage. Partner-only endpoint. The checksum is required and must be the SHA-256 of the plaintext.
Authorizations
Bearer token authentication. Can be either a JWT token or API key.
Headers
Bearer token for authentication. Can be either a JWT token or API key.
Body
Secure data and metadata
Public key in hex format used to encrypt the data
32 - 4096^[0-9a-fA-F]+$SHA-256 checksum of the original plaintext for verification (required for partner endpoint)
^[a-fA-F0-9]{64}$Base64-encoded encrypted data
Padding type used for encryption
OAEP Optional metadata about the data
Response
Secure data successfully stored
Unique identifier for the stored backup
SHA-256 checksum that was verified
Size of the encrypted data in bytes
Type of backup (always 'data' for secure-data endpoint)
data Combined metadata including original metadata