Docs 菜单
Docs 主页
/ /
Atlas
/ /

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
要从配置文件中使用的配置文件的名称。 要了解 Atlas CLI 的配置文件,请参阅 https://dochub.mongodb.org/core/atlas-cli-save-connection-settings。
Set the organization ID in the default profile to 5dd5aaef7a3e5a6c5bd12de4:
atlas config set org_id 5dd5aaef7a3e5a6c5bd12de4

后退

改名

来年

customDbRoles