Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Event
Docs 菜单
Docs 主页
/ /
Atlas CLI
/

atlas auth

托管 CLI 的身份验证状态。

名称
类型
必需
说明

-h,--help

false

身份验证帮助

名称
类型
必需
说明

-P, --profile

字符串

false

要从配置文件中使用的配置文件的名称。 要了解 Atlas CLI 的配置文件,请参阅 https://dochub.mongodb.org/core/atlas-cli-save-connection-settings。

  • atlas auth login - 使用 MongoDB Atlas 进行身份验证.

  • atlas auth logout - 注销 CLI。

  • atlas authregister - 注册 MongoDB Atlas。

  • atlas auth whoami - 验证并显示有关身份验证状态的信息。

后退

update

在此页面上