Skip to main content

miren env get

Get an environment variable value

Usage

miren env get <key> [flags]

Arguments

  • key — Environment variable key to get

Flags

  • --service, -S — Get env var for specific service (if not specified, gets global env var)
  • --unmask, -u — Show actual value of sensitive variables instead of masking them

Config Options

  • --cluster, -C — Cluster name
  • --config — Path to the config file

App Options

  • --app, -a — Application name
  • --dir, -d — Directory to run from (default: .)

Global Options

  • --options — Path to file containing options
  • --server-address — Server address to connect to (default: 127.0.0.1:8443)
  • --verbose, -v — Enable verbose output

Examples

Get a variable value:

miren env get DATABASE_URL

Reveal a sensitive variable:

miren env get SECRET_KEY --unmask

See also