Files
cheatsheet-tldr/tldr/pulumi-whoami
2024-11-10 00:18:20 +00:00

26 lines
574 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`