속성을 사용하여 조직 콘솔 URL, gdcloud CLI에서 인증에 사용하는 프로젝트, 재해 복구 서비스와 함께 사용할 정보, 자동 gdcloud CLI 구성요소 업데이트 확인을 사용 중지하는 옵션 등 조직 또는 프로젝트 컨텍스트의 설정을 정의할 수 있습니다. 조직 및 프로젝트 컨텍스트에 대한 자세한 내용은 컨텍스트 보기 및 전환을 참고하세요. 또한 속성을 사용하여 gdcloud CLI 명령어의 접근성 구성과 같은 gdcloud CLI 환경설정을 정의할 수도 있습니다.
속성과 신고
gdcloud CLI는 gdcloud CLI 속성과 효과가 동일한 명령어 플래그를 지원합니다. 속성을 사용하면 명령어 실행에서 설정을 동일하게 유지할 수 있지만, 플래그는 호출 단위로 명령어 동작에 영향을 미칩니다. 두 가지 모두가 설정된 경우에는 플래그가 속성보다 우선 적용됩니다.
구성
구성은 gdcloud CLI 속성을 조합하여 이름을 붙인 것입니다. gdcloud CLI는 default라는 구성을 초기 활성 구성으로 사용합니다. default 구성은 대부분의 사용 사례에 적합합니다. 하지만 추가 구성을 만들고 필요에 따라 구성을 전환할 수도 있습니다.
[[["이해하기 쉬움","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(UTC)"],[[["\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."]]