{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/singlestore/main/json-schema/singlestore-secret-schema.json",
  "title": "Secret",
  "description": "An organization-level secret that stores sensitive values such as API keys or passwords, which can be referenced in notebooks and jobs without exposing plaintext credentials.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/singlestore-secrets-api-openapi.yml#/components/schemas/Secret",
  "type": "object",
  "properties": {
    "secretID": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier of the secret."
    },
    "name": {
      "type": "string",
      "description": "Human-readable name used to reference the secret."
    },
    "createdBy": {
      "type": "string",
      "description": "Identifier of the user who created the secret."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the secret was created."
    },
    "lastUpdatedBy": {
      "type": "string",
      "description": "Identifier of the user who last updated the secret."
    },
    "lastUpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the secret was last updated."
    }
  }
}