Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Encrypt a key

Encrypts data with an ENCRYPT key.

This method is not served on the public API. api.sylphx.com does not route this call: its backend is not deployed behind the public API, or does not implement the call. This page documents the contract. It is kept out of the sidebar and of search engines.

Encrypts data with an ENCRYPT key.

Not available yet. Sylphx Keys is declared in the registry but no backend serves it: every call answers 501 with the problem code UNIMPLEMENTED.

  • Path POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/keys/key:encrypt
  • Scope keys:encrypt
  • Effect read — nothing is written.
  • Collection keys

#Request

FieldTypeWhat it is
namestringThe key to use. Required.
plaintextbytesThe plaintext, at most 64 KiB. Required. Never returned again.
additional_authenticated_databytesData bound to the ciphertext and required again to decrypt it.

#Response

FieldTypeWhat it is
ciphertextbytesThe ciphertext; it names the version that made it.
key_versionstringThe version that encrypted.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/keys/key:encrypt" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"plaintext":"…"}'