API address: https://dash.openwaf.dev. Also --api. Must be http or https, without credentials or a query. Always set it: the built-in default is a local address.
OPENWAF_TOKEN
The API token (owf_…).
OPENWAF_TOKEN_FILE
Path of a file with the token instead. The file must be a regular file owned by you with no permissions for group or others (chmod 600). It holds the bare token or one line NAME_TOKEN=value (an export prefix and quotes are accepted); blank lines and # comments are ignored; it must contain exactly one token.
OPENWAF_ORG
Organisation by name or id. Also --org. Default: the token's organisation.
Set only one of OPENWAF_TOKEN and OPENWAF_TOKEN_FILE. The token is never accepted as an argument, and it is redacted from error messages. Commands that do not call the API with a token, such as origin-tls ca, do not read it.