Docs 菜单
Docs 主页
/ /
Atlas CLI
/ /

atlas 配置集

配置配置文件的特定属性。

命令语法
atlas config set <propertyName> <value> [options]
名称
类型
必需
说明

属性名称

字符串

true

要在配置文件中设立的属性。 Atlas CLI的有效值为 project_id、org_id、service、public_api_key、private_api_key、output、mongosh_path、skip_update_check、telemetry_enabled、access_token 和 refresh_token。

字符串

true

要在配置文件中设置的属性值。

名称
类型
必需
说明

-h,--help

false

设置的帮助

名称
类型
必需
说明

-P, --profile

字符串

false

Set the organization ID in the default profile to 5dd5aaef7a3e5a6c5bd12de4:
atlas config set org_id 5dd5aaef7a3e5a6c5bd12de4

后退

改名

在此页面上