Download with the SDK
#The SDK requests a short-lived ciphertext URL, downloads encrypted bytes, validates SHA-256, and decrypts every chunk using the supplied recovery key. Incorrect keys and modified ciphertext fail authentication.
const plaintext = await vault.download(object.id, vaultKey);
const text = await plaintext.text();Temporary access
#POST /v1/objects/:id/signed-url accepts expiresIn in seconds, from 30 to 86,400. Anyone with the returned URL can fetch ciphertext until expiry or revocation. They still need a decryption key.
POST /v1/objects/<object-id>/signed-url
Content-Type: application/json
{"expiresIn":900}Share one file
#vault.share derives and exports only this object’s key. It returns a share-page URL with the token and key in the fragment, which is not part of the HTTP request. Anyone receiving the complete link can decrypt that object. Revoke active links in Shared access; copies already downloaded cannot be recalled.
const link = await vault.share(object.id, vaultKey, SITE_URL, 3600);Clear documentation is part of the product.