{
  "label": "Auth configuration.",
  "properties": {
    "enabled": {
      "label": "Enable authentication"
    },
    "reset_admin_password": {
      "label": "Reset the admin password on startup"
    },
    "cookie_name": {
      "label": "Name for jwt token cookie"
    },
    "cookie_secure": {
      "label": "Set secure flag on cookie"
    },
    "session_length": {
      "label": "Session length for jwt session tokens"
    },
    "refresh_time": {
      "label": "Refresh the session if it is going to expire in this many seconds"
    },
    "failed_login_rate_limit": {
      "label": "Rate limits for failed login attempts."
    },
    "trusted_proxies": {
      "label": "Trusted proxies for determining IP address to rate limit"
    },
    "hash_iterations": {
      "label": "Password hash iterations"
    },
    "roles": {
      "label": "Role to camera mappings. Empty list grants access to all cameras."
    }
  }
}