Skip to main content
mesa is configured through environment variables. Config files are deprecated and will stop being read in a future release — see Config file (deprecated) below for migration.

Credentials

Set MESA_ACCESS_TOKEN to a scoped token you minted on trusted infrastructure, and keep the private key out of the CLI’s environment.

Optional

Daemon mode

Run mesa mount as a background daemon:
Log output goes to stdout by default. Redirect it to a file with MESA_DAEMON_LOG_FILE:

Ignore rules

Set MESA_MESAIGNORE_PATH to a .mesaignore file to control which files are kept locally vs. uploaded to VCS. See .mesaignore for details.

Config file (deprecated)

TOML config files (config.toml and credentials.toml) are deprecated and will stop being read in a future release. They are never created anymore. When one is loaded, mesa logs a warning for every setting it contains, naming the environment variable to use instead.
An existing config file is still honored, searched for in the following locations (highest priority first), or at an explicit --config-path:
  • $XDG_CONFIG_HOME/mesa/config.toml (Linux only)
  • $HOME/.config/mesa/config.toml
  • /etc/mesa/config.toml
Environment variables always take precedence over config file values. Among environment credentials, a matching MESA_ORGS (deprecated) entry takes precedence over MESA_API_KEY, which takes precedence over MESA_ACCESS_TOKEN. Migrate each config key to its environment variable: