workers_secret

APIs.ioEngineeringPlatform

Properties

Name Type Description
name string The name of this secret, this is what will be used to access it inside the Worker.
text string The value of the secret.
type string The type of secret to put.
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-workers-secret-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/workers_secret",
  "title": "workers_secret",
  "properties": {
    "name": {
      "description": "The name of this secret, this is what will be used to access it inside the Worker.",
      "example": "MY_SECRET",
      "type": "string"
    },
    "text": {
      "description": "The value of the secret.",
      "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
      "type": "string"
    },
    "type": {
      "description": "The type of secret to put.",
      "enum": [
        "secret_text"
      ],
      "example": "secret_text",
      "type": "string"
    }
  },
  "type": "object"
}