LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ibmcloud-config

writes default values to the IBM Cloud CLI configuration file

TLDR

Set the HTTP timeout in seconds
$ ibmcloud config --http-timeout [60]
copy
Enable colored output
$ ibmcloud config --color [true]
copy
Trace HTTP requests to the terminal
$ ibmcloud config --trace [true]
copy
Trace HTTP requests to a file
$ ibmcloud config --trace [/tmp/ibmcloud.log]
copy
Set the output locale
$ ibmcloud config --locale [en_US]
copy
Clear the configured locale
$ ibmcloud config --locale CLEAR
copy
Disable the CLI version check
$ ibmcloud config --check-version [false]
copy

SYNOPSIS

ibmcloud config --http-timeout SECONDS | --trace (true|false|path/to/file) | --color (true|false) | --locale (LOCALE|CLEAR) | --check-version (true|false)

DESCRIPTION

ibmcloud config writes persistent defaults to the CLI configuration file. The settings apply to every `ibmcloud` invocation that uses the same configuration directory, which is `~/.bluemix` unless IBMCLOUD_HOME points elsewhere.Only one option can be given per invocation. Each setting has a matching environment variable that overrides the stored value for a single command, which is handy in scripts and CI.

PARAMETERS

--http-timeout SECONDS

Timeout value for HTTP requests, in seconds. The default is 60.
--trace true|false|PATH
Trace HTTP requests to the terminal, or append them to the given file.
--color true|false
Enable or disable color output. Disabled by default.
--locale LOCALE|CLEAR
Set the default output locale, for example `en_US`. `CLEAR` removes the setting.
--check-version true|false
Enable or disable the CLI version check.
--sso-otp manual|auto
Style of single sign-on one-time passcode retrieval. `manual` (the default) requires user interaction; `auto` launches the default browser and accepts the token.
--alpha-commands true|false
Sort uncategorized commands alphabetically in help output.

ENVIRONMENT

IBMCLOUD_HOME

Directory holding the configuration; the CLI reads and writes `$IBMCLOUD_HOME/.bluemix`.
IBMCLOUD_COLOR
Overrides `--color` for one invocation.
IBMCLOUD_HTTP_TIMEOUT
Overrides `--http-timeout` for one invocation.
IBMCLOUD_TRACE
Overrides `--trace`; accepts `true` or a log file path.
IBMCLOUD_VERSION_CHECK
Overrides `--check-version` for one invocation.

CAVEATS

Only one option can be specified at a time; the CLI rejects two settings in the same command.Traces contain full HTTP requests, including authorization headers, so a trace file can leak IAM tokens. Do not commit or share it.The settings are per configuration directory, not global. Shells that set a different IBMCLOUD_HOME keep their own values.

HISTORY

ibmcloud config is part of the IBM Cloud CLI, which replaced the earlier `bluemix` (`bx`) CLI when Bluemix was rebranded to IBM Cloud around 2018.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid