Create basic auth account configuration for Caddy
Username for authentication
Plain text password (will be hashed with bcrypt)
Optional
Optional configuration
Promise resolving to account object with hashed password
const account = await createBasicAuthAccount("admin", "secret123");// Returns: { username: "admin", password: "$2a$10$..." } Copy
const account = await createBasicAuthAccount("admin", "secret123");// Returns: { username: "admin", password: "$2a$10$..." }
Create basic auth account configuration for Caddy