← 返回命令列表

Linux command

pulumi-whoami 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show current user

pulumi whoami

Show detailed info

pulumi whoami -v

Show in JSON format

pulumi whoami --json

说明

pulumi whoami displays the currently logged-in user and backend. Shows username, organization, and backend URL. Useful for verifying authentication status.

参数

-v, --verbose
Show detailed information.
--json
Output as JSON.

FAQ

What is the pulumi-whoami command used for?

pulumi whoami displays the currently logged-in user and backend. Shows username, organization, and backend URL. Useful for verifying authentication status.

How do I run a basic pulumi-whoami example?

Run `pulumi whoami` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -v, --verbose do in pulumi-whoami?

Show detailed information.