Docs 菜单
Docs 主页
/ /
Atlas
/

atlas config

在此页面上

  • 选项
  • 继承选项
  • 相关命令

配置和管理您的用户配置文件。

在用户配置文件中配置设置。 所有设置都是可选的。 您可以通过运行以下命令单独指定设置: $ atlas config set --help

您还可以在运行该工具时使用环境变量 (MONGODB_ATLAS_*)。 要了解更多信息,请参阅文档: https://dochub.mongodb.org/core/atlas-cli-env-variables。

名称
类型
必需
说明
-h,--help
false
配置帮助
名称
类型
必需
说明
-P, --profile
字符串
false
要从配置文件中使用的配置文件的名称。 要了解 Atlas CLI 的配置文件,请参阅 https://dochub.mongodb.org/core/atlas-cli-save-connection-settings。
  • atlas config delete — 删除配置文件。

  • atlas config describe — 返回您指定的配置文件。

  • atlas configedit - 使用默认文本编辑器打开配置文件。

  • atlas config init — 配置配置文件以存储 MongoDB 部署的访问设置。

  • atlas config list — 按名称返回可用配置文件的列表。

  • atlas config rename - 重命名配置文件。

  • atlas config set - 配置配置文件的特定属性。

后退

zsh

来年

删除