@accelerated-software-development/caddy-api-client - v0.4.3
    Preparing search index...

    Function buildLocalIdentityStore

    • Build a local identity store configuration

      Creates a local JSON file-based identity store for user credentials. Uses the authcrunch wrapper structure: name, kind, params

      Parameters

      Returns { kind: "local"; name: string; params: { path: string; realm?: string } }

      Validated local identity store configuration

      import { buildLocalIdentityStore } from "@.../caddy-api-client/plugins/caddy-security";

      const store = buildLocalIdentityStore({
      name: "localdb",
      path: "/etc/caddy/users.json",
      realm: "local",
      });