Installing Access Manager isn’t enough on its own. To start enforcing access, you turn it on in each product by setting the Auth variables in theDocumentation Index
Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
Use this file to discover all available pages before exploring further.
.env file of any Lerian product or plugin where you want it active.
Enabling Access Manager only turns on authorization enforcement in a product or plugin. Access data such as users, groups, applications, providers, roles, and permissions is managed separately through Access Manager.
Once Access Manager is enabled, protected API requests must include an
Authorization header with a valid Bearer access token.Without this header, protected requests will be rejected, even for endpoints that were previously accessible without authentication.Learn how to generate and use access tokens.Where to update
You’ll find the relevant
.env files in these locations:
- Midaz
/midaz/components/ledgerusesPLUGIN_AUTH_HOST/midaz/components/crmusesPLUGIN_AUTH_ADDRESS
- Other products and plugins
- Use the
.envfile in the product or plugin root, or in the component directory when the repository is split into components. - Reporter, Tracer, Flowker, CRM, Fees Engine, Bank Transfer, Pix Indirect BTG, and Fetcher use
PLUGIN_AUTH_ADDRESS. - Pix Direct JD uses
PLUGIN_AUTH_HOST.
- Use the
Rebuild after changes
After updating the environment, rebuild your Docker images to apply the changes:
Deployment lifecycle
Access Manager setup has two phases:
- Bootstrap seeds a new environment with the base organizations, roles, groups, applications, and permission sets required by the platform.
- Operation starts after the environment is running. From that point on, manage access through the Identity APIs or Lerian Console.

