{
  "manifest": {
    "spekkr": 1,
    "id": "kato/api-keys",
    "name": "API keys",
    "summary": "Keys your customers create to call your API: shown once, stored as hashes, with scopes, rotation and a last-used time.",
    "keywords": [
      "tokens",
      "authentication",
      "auth",
      "developer api",
      "bearer",
      "secrets"
    ],
    "kind": "app part",
    "version": "0.1.2",
    "author": {
      "id": "kato",
      "name": "Kato"
    },
    "targets": {
      "platforms": [
        "backend",
        "web"
      ]
    },
    "customize": {
      "settings": [
        {
          "key": "key_prefix",
          "label": "What every key starts with",
          "default": "ak",
          "help": "Two to six lowercase letters, so a leaked key can be recognised."
        }
      ],
      "options": [
        {
          "key": "scopes",
          "label": "Scopes",
          "default": true,
          "help": "A key carries a list of scopes and each route names the scope it needs."
        },
        {
          "key": "expiry",
          "label": "Expiry dates",
          "default": false,
          "help": "A key can be given a date after which it stops working."
        }
      ],
      "swaps": [
        {
          "key": "database",
          "label": "Database",
          "choices": [
            "postgres",
            "sqlite"
          ],
          "default": "postgres"
        },
        {
          "key": "owner",
          "label": "Who a key belongs to",
          "choices": [
            "user",
            "workspace"
          ],
          "default": "user",
          "help": "One person, or a workspace that several people manage."
        }
      ]
    },
    "files": [
      {
        "path": "spec.md",
        "about": "Requirements and acceptance criteria."
      },
      {
        "path": "design.md",
        "about": "Data model, rules and flows."
      },
      {
        "path": "tasks.md",
        "about": "Build tasks in order, each with a check."
      }
    ],
    "needs": {
      "permissions": [
        "shell",
        "network"
      ]
    },
    "demo": {
      "screenshots": [
        "shots/fieldnote-new-key.png",
        "shots/fieldnote-key-shown-once.png",
        "shots/fieldnote-keys-mobile.png",
        "shots/fieldnote-sign-in.png"
      ]
    },
    "safety": {
      "secrets": [
        "DATABASE_URL"
      ]
    },
    "lineage": {},
    "changelog": [
      {
        "version": "0.1.2",
        "date": "2026-11-15",
        "note": "Names what it builds."
      },
      {
        "version": "0.1.1",
        "date": "2026-11-14",
        "note": "Says \"person\" where it said \"buyer\"."
      },
      {
        "version": "0.1.0",
        "date": "2026-11-14",
        "note": "Moved from dwrtz/api-keys."
      }
    ]
  },
  "links": {
    "page": "./",
    "bundle": "bundle.tar.gz",
    "files": {
      "design.md": "files/design.md",
      "shots/fieldnote-key-shown-once.png": "files/shots/fieldnote-key-shown-once.png",
      "shots/fieldnote-keys-mobile.png": "files/shots/fieldnote-keys-mobile.png",
      "shots/fieldnote-new-key.png": "files/shots/fieldnote-new-key.png",
      "shots/fieldnote-sign-in.png": "files/shots/fieldnote-sign-in.png",
      "spec.md": "files/spec.md",
      "tasks.md": "files/tasks.md"
    }
  },
  "publishedBy": "kato",
  "uploaded": {
    "shots/fieldnote-key-shown-once.png": {
      "bytes": 81823,
      "type": "image/png"
    },
    "shots/fieldnote-keys-mobile.png": {
      "bytes": 44161,
      "type": "image/png"
    },
    "shots/fieldnote-new-key.png": {
      "bytes": 67737,
      "type": "image/png"
    },
    "shots/fieldnote-sign-in.png": {
      "bytes": 50726,
      "type": "image/png"
    }
  }
}
