Skip to content

pulumi-whoami: add page #14729

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions pages/common/pulumi-whoami.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# pulumi whoami

> Print information about the currently logged in user.
> More information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_whoami/>.

- Print the username of the currently logged in user:

`pulumi whoami`

- Print detailed information about the currently logged in user:

`pulumi whoami {{-v|--verbose}}`

- Print detailed information about the currently logged in user as JSON:

`pulumi whoami {{-j|--json}}`

- Display help:

`pulumi whoami {{-h|--help}}`