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 whoami

验证并显示有关身份验证状态的信息。

命令语法
atlas auth whoami [options]
名称
类型
必需
说明

-h,--help

false

whoami 帮助

名称
类型
必需
说明

-P, --profile

字符串

false

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

# See the logged account:
atlas auth whoami

后退

报名

在此页面上