mongocli auth whoami
On this page
Verifies and displays information about your authentication state.
Syntax
mongocli auth whoami [options]
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for whoami |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |
Examples
See the logged account: $ mongocli auth whoami