---
title: TurnstileOptions
description: >-
  The submission guard. Every submission passes a rate limit, keyed by the
  signed-in identity or else the client's IP, and is refused when it has
  neither. When sign-in is required, anonymous submissions are refused;
  otherwise, when Turnstile is configured, they must also carry a token
  Cloudflare verifies. Runs before any GitHub call.
updated_at: '2026-11-19T08:27:17+01:00'
created_at: '2026-11-11T18:25:52+01:00'
symbol:
  kind: interface
  name: TurnstileOptions
  signatures:
    - interface TurnstileOptions
  members:
    - name: siteKey
      kind: property
      signature: 'readonly siteKey: string'
      description: The widget's public site key.
    - name: secret
      kind: property
      signature: 'readonly secret: { … }'
      description: The server environment variable holding the widget's secret key.
    - name: secret.env
      kind: property
      signature: 'readonly env: string'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugin-submissions/src/guard.ts#L9
---

# TurnstileOptions
