pulumi whoami | CLI commands
Display the current logged-in user
Synopsis
Display the current logged-in user
Displays the username of the currently logged in user.
When the current token is a Pulumi Cloud organization token, the command returns the name of the organization with which the token is associated. When it is a team token, the command returns the login of the team's service principal, in the form team-account:<team-id>. When it is a service principal token, the command returns the login of the service principal, in the form service-principal:<id>. Use --verbose to show the token type and its organization.
pulumi whoami [flags]Options
-h, --help help for whoami
--output string Output format. Supported values are: default and json (default "default")
-v, --verbose Print detailed whoami informationOptions inherited from parent commands
--color string Colorize output. Choices are: always, never, raw, auto (default "auto")
-C, --cwd string Run pulumi as if it had been started in another directory
--disable-integrity-checking Disable integrity checking of checkpoint files
-e, --emoji Enable emojis in the output
-Q, --fully-qualify-stack-names Show fully-qualified stack names
--logflow Flow log settings to child processes (like plugins)
--logtostderr Log to stderr instead of to files
--memprofilerate int Enable more precise (and expensive) memory allocation profiles by setting runtime.MemProfileRate
--non-interactive Disable interactive mode for all commands
--otel-traces string Export OpenTelemetry traces to the specified endpoint. Use file:// for local JSON files, grpc:// or https:// for remote collectors
--profiling string Emit CPU and memory profiles and an execution trace to '[filename].[pid].{cpu,mem,trace}', respectively
--tracing file: Emit tracing to the specified endpoint. Use the file: scheme to write tracing data to a local fileSEE ALSO
- pulumi - Pulumi command line