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
Store options
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",}); Copy
import { buildLocalIdentityStore } from "@.../caddy-api-client/plugins/caddy-security";const store = buildLocalIdentityStore({ name: "localdb", path: "/etc/caddy/users.json", realm: "local",});
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