.env files of Midaz, or any plugin where you want to use Access Manager.
Your configuration should look like this:
Once Access Manager is enabled, all API requests must include an
Authorization header with a valid Bearer access token.Without this header, your requests will be rejected, even for public or previously accessible endpoints.Learn how to generate and use access tokens.Where to update
You’ll find the relevant
.env files in these locations:
- Midaz Ledger
/midaz/components/onboarding/midaz/components/transaction/midaz/components/console(older versions of Midaz)
- Other plugins
- The
.envfile should be in the root directory of the plugin.
- The
Rebuild after changes
After updating the environment, rebuild your Docker images to apply the changes:

