Skip to content
LogScale Self-Hosted
This is an archived version of the documentation downloaded from LogScale Documentation Archives. Up to date documentation, and documentation for later versions, is available on LogScale Documentation

## `STATIC_USERS`

Option | `STATIC_USERS`
Description | Used to define user accounts directly in the configuration rather than through an external authentication system.

Static users are typically defined in a JSON file containing local user accounts with their credentials and permissions.

JSON

    {
      "admin": {
        "password": "hashedpassword123",
        "roles": ["admin"]
      },
      "serviceuser": {
        "password": "hashedpassword456",
        "roles": ["reader"]
      }
    }

This can be useful for creating initial admin accounts or service accounts, or when external authentication (like SAML or LDAP) is not available. However, integrating with enterprise authentication systems is generally recommended over extensive use of static users.

#### Enter search term