Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Mac verify on a key

Verifies a MAC made by a MAC key, in constant time.

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.

Verifies a MAC made by a MAC key, in constant time.

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:macVerify
  • Scope keys:verify
  • Effect read — nothing is written.
  • Collection keys

#Request

FieldTypeWhat it is
namestringThe key to use. Required.
key_versionstringThe version to use; default the primary version.
databytesThe message. Required.
macbytesThe MAC to check. Required.

#Response

FieldTypeWhat it is
validboolThe MAC is valid.

#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:macVerify" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data":"…","mac":"…"}'