{
  "slug": "neonctl-neon-auth-enable-status-and-disable-commands-902db5a6c8a5",
  "title": "neonctl neon-auth enable, status, and disable commands",
  "tools": [
    "neonctl"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-08T22:43:20.000Z",
  "announced_at": "2026-06-08T22:43:20.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "To manage Managed Better Auth on a branch, run `neon neon-auth enable`, `status`, or `disable`. The CLI resolves project and branch context when the corresponding flags are omitted, selecting a sole match or prompting when multiple options exist.",
    "examples": [
      "neon neon-auth enable",
      "neon neon-auth status",
      "neon neon-auth disable"
    ],
    "gotchas": [
      "Version: v2.23.0",
      "--project-id: Identifies the project; if omitted, CLI uses context, auto-selects when only one option exists, or asks for the flag.",
      "--branch: Identifies the branch; if omitted, CLI uses context, auto-selects when only one option exists, or asks for the flag.",
      "--delete-data: For `disable`, permanently deletes Managed Better Auth data and schema. The docs do not state whether this flag has an explicit value.",
      "Prerequisite: Authenticate with the Neon CLI; an unauthenticated command launches browser authentication. Alternatively, pass an API key with `--api-key`.",
      "Prerequisite: The documented CLI installation requires Node.js 18.0 or higher when installing with npm.",
      "All operations are branch-scoped."
    ]
  },
  "why_it_matters": "Manage Neon Auth for a project branch from the CLI.",
  "sources": [
    "https://github.com/neondatabase/neonctl/releases/tag/v2.23.0",
    "https://github.com/neondatabase/neonctl/pull/458",
    "https://github.com/neondatabase/website/blob/main/content/docs/cli/neon-auth.md",
    "https://github.com/neondatabase/neonctl"
  ],
  "rank": 0.9503,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-9f314fbea902da4f-0:gate",
    "evidence_hash": "61edc8d0bc104faefab5be08017d46df572c3568e37e40197872a3a104fb4b1e"
  },
  "review": {
    "draft_hash": "3a71c499f69dedd5abc117f31318e9f6d5d55ccf4193b9f7fa33a2ee44f1d9df",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.75 (>= 0.6 needed)."
  }
}
