{
  "slug": "gcloud-secrets-create-accepts-secret-type-a92babca9d74",
  "title": "gcloud secrets create accepts --secret-type",
  "tools": [
    "gcloud"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-28T00:00:00.000Z",
  "announced_at": "2026-07-28T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When creating a Secret Manager secret with a specific type, pass `--secret-type=<type>` to `gcloud secrets create`. Choose one of the documented types, such as `cloud-sql-db-credentials`.",
    "examples": [
      "gcloud secrets create <SECRET_ID> --secret-type=cloud-sql-db-credentials"
    ],
    "gotchas": [
      "SECRET (required): Secret ID or fully qualified identifier.",
      "--secret-type: Secret type; allowed values: `access-key`, `certificate`, `cloud-sql-db-credentials`, `other`, `other-db-credentials`, `secret-type-unspecified`.",
      "The source gives Cloud SQL credentials as an example of a secret type."
    ]
  },
  "why_it_matters": "When creating a secret with a type such as Cloud SQL credentials, set its secret type.",
  "sources": [
    "https://docs.cloud.google.com/sdk/docs/release-notes#57800_2026-07-28",
    "https://docs.cloud.google.com/sdk/gcloud/reference/secrets/create"
  ],
  "rank": 0.92017,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "cloud-20261008",
    "verdict_id": "cloud-20261008:cloud-20261008-646b77704826ceef-20:gate",
    "evidence_hash": "af5855921baf0ca18aaf1c790f5a5b2bea9336b8e03294f52467edc5c92748d1"
  },
  "review": {
    "draft_hash": "ff48bf30fafa15da8d3d8a1ceed06d05cf41d87c9b93e26434aa60aca340e3f4",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "cloud-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.92 >= 0.9; 2 needed) and Jev gave 0.66 (>= 0.6 needed)."
  }
}
