[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[[["\u003cp\u003eProperties in the gdcloud CLI are settings that control its behavior, such as organization console URL, project authentication details, and disaster recovery service settings.\u003c/p\u003e\n"],["\u003cp\u003eProperties maintain settings across multiple command executions, while flags override these properties for individual command calls.\u003c/p\u003e\n"],["\u003cp\u003eA configuration is a named set of gdcloud CLI properties, with 'default' being the active configuration for most use cases, but you may also create other configurations.\u003c/p\u003e\n"],["\u003cp\u003eYou can list active configuration properties with the \u003ccode\u003egdcloud config list\u003c/code\u003e command and set new properties using the \u003ccode\u003egdcloud config set\u003c/code\u003e command.\u003c/p\u003e\n"],["\u003cp\u003eTo find all available properties, use the \u003ccode\u003egdcloud topic configurations\u003c/code\u003e command and refer to the Available Properties section.\u003c/p\u003e\n"]]],[],null,["# Manage gdcloud CLI properties\n\nProperties are settings that govern the behavior of the\ngdcloud CLI.\n\nYou can use properties to define settings on an organization and/or a project\ncontext such as the organization console URL and project used by the\ngdcloud CLI for authentication, the information to use when working\nwith the Disaster Recovery service, or the option to turn off automatic\ngdcloud CLI component update checks. For more details about\norganization and project context, see\n[View and switch context](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-context). Properties\ncan also be used to define gdcloud CLI preferences like\naccessibility configuration for gdcloud CLI commands.\n\nProperties and flags\n--------------------\n\nThe gdcloud CLI supports command flags that have the same effect\nas gdcloud CLI properties. Properties allow you to maintain the\nsame settings across command executions while flags affect command behavior on a\nper-invocation basis. Note that flags override properties when both are set.\n\nConfigurations\n--------------\n\nA [configuration](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-manage-configurations) is a\nnamed set of gdcloud CLI properties. The gdcloud CLI\nuses a configuration named `default` as the initial active configuration. The\n`default` configuration is suitable for most use cases. However, you can also\ncreate additional configurations and switch between them as required.\n\nList properties\n---------------\n\nTo list the properties in the active\n[configuration](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-manage-configurations), run: \n\n gdcloud config list\n\nSet properties\n--------------\n\nTo set a property in the active configuration, run `gdcloud config set`. The\nfollowing example sets the `project` property, where\n\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e is the unique ID for your project. \n\n gdcloud config set project \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e\n\nTo set properties that are not in the `core` properties section, you must\nspecify the section followed by a forward slash before the property name. The\nfollowing example sets the `login_config_cert_path` property: \n\n gdcloud config set auth/login_config_cert_path \u003cvar translate=\"no\"\u003eCA_CERT_PATH\u003c/var\u003e\n\nReplace the \u003cvar translate=\"no\"\u003eCA_CERT_PATH\u003c/var\u003e variable with the path of your\nCertificate Authority (CA) certificate. For example, `/tmp/web-tls-ca.cert`.\n\nAvailable properties\n--------------------\n\nThe list of all properties can be found by running `gdcloud topic configurations`\ncommand and looking for the Available Properties section."]]