Skip to navigation

Selected profiles outrank environment variables

A selected profile’s stored values now take precedence over environment variables however the profile was selected: -p, <PREFIX>_PROFILE, or profiles use. Previously only a profile named with -p outranked the environment, so a profile made active with profiles use lost to any exported <PREFIX>_BASE_URL, <PREFIX>_RETRIES, or credential variable. Every profile-capable value resolves as explicit flag → selected profile → environment variable → spec default; environment variables fill only the values the profile leaves unset. Unprofiled invocations are unchanged. auth status lists the profile’s credential source before the environment variable, and profiles current reports when an environment variable is supplying a credential the profile doesn’t store.

Read the docs

Profile-storable transport settings

profiles set now accepts <PREFIX>_TIMEOUT_SECS, <PREFIX>_PROXY, <PREFIX>_CA_BUNDLE, <PREFIX>_INSECURE, and <PREFIX>_USER_AGENT_SUFFIX, so each profile can carry its own request timeout, proxy, CA bundle, TLS verification setting, and User-Agent suffix. Values are validated on save, child profiles inherit them, and a selected profile’s value outranks the exported variable. <PREFIX>_CONNECT_TIMEOUT_SECS stays environment-only. The root --help footer now lists every environment variable the CLI reads, including one per server URL variable.

Read the docs