HMAC signature
Compute an HMAC-SHA256 signature with a secret key from the vault, e.g. to sign or verify webhooks.
Command in the Hash and encrypt toolkit · id ooa.crypto/hmac · 5 inputs (2 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Text | String | Yes | Message. | |
| Key | Credential | Yes | Secret key from the vault. | |
| Algorithm | String | No | SHA-256 | Hash used inside the HMAC. |
| Output format | String | No | hex | How the result is written: hex (lower case), hex_upper or base64. |
| Key is base64 | Boolean | No | false | The key is Base64 text to decode into bytes (as some services issue it). |
Outputs
| Output | Type | What it is |
|---|---|---|
| signature | String | Hex signature. |