Vettero

HMAC Create

Create an HMAC signature of a value using a secret.

Type

crypto.hmac.create
Block Tool Crypto
Folderbasic/crypto
Channels

Any

Pipe

Value

Scope

Any

HMAC Create signs Value with Secret and writes the signature to the data pipe. Use HMAC Verify to check a signature from a webhook header.

Configure

SettingDescription
ValueBody or text to sign (required)
SecretShared secret. Prefer a workspace env key (required)
AlgorithmSHA-256 (default), SHA-384, SHA-512, or SHA-1
EncodingHex (default), Base64, or Base64 URL

Handles

HandleRole
In (target)Incoming connection
Out (source)Continues after signing
ErrorCatchable failures: missing secret (MISSING_VALUE)

Connect Branch errors to Error to split those codes.

Pipe schema

The next block reads this on the data pipe (pipe.value). The value is text (the signature).

Use case

  • Sign an outbound HTTP body before an API call.
  • Produce the same digest a partner expects in X-Signature.
Copyright © 2026