Require secret for hmac.