Skip to content

hmacSigner

function hmacSigner(secret, options?): AuditSigner;

Defined in: src/integrity.ts:652

A symmetric HMAC-SHA256 signer: simplest setup, but only holders of the secret can verify — prefer ed25519Signer when customers verify.

Parameter Type
secret string
options? { keyId?: string; }
options.keyId? string

AuditSigner