HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ibmcloud config — Modify or read out values in the IBM Cloud CLI configuration. More information: <https://cloud.ibm.c

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandmodifyreadibmcloud configvaluescliout

Problem

How to use the ibmcloud config command: Modify or read out values in the IBM Cloud CLI configuration. More information: <https://cloud.ibm.com/docs/cli?topic=cli-ibmcloud_cli#ibmcloud_config>.

Solution

ibmcloud config — Modify or read out values in the IBM Cloud CLI configuration. More information: <https://cloud.ibm.com/docs/cli?topic=cli-ibmcloud_cli#ibmcloud_config>.

Set HTTP request timeout to 30 seconds:
ibmcloud config --http-timeout 30


Enable trace output for HTTP requests:
ibmcloud config --trace true


Trace HTTP requests to a specific file:
ibmcloud config --trace {{path/to/trace_file}}


Disable color output:
ibmcloud config --color false


Set the locale to a specific language:
ibmcloud config --locale {{zh_Hans}}


Enable automatic SSO one-time passcode acceptance:
ibmcloud config --sso-otp auto

Code Snippets

Set HTTP request timeout to 30 seconds

ibmcloud config --http-timeout 30

Enable trace output for HTTP requests

ibmcloud config --trace true

Trace HTTP requests to a specific file

ibmcloud config --trace {{path/to/trace_file}}

Disable color output

ibmcloud config --color false

Set the locale to a specific language

ibmcloud config --locale {{zh_Hans}}

Context

tldr-pages: common/ibmcloud config

Revisions (0)

No revisions yet.