Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdWhoami ¶
NewCmdWhoami creates the top-level whoami command. It reports the identity that the next API call would actually use (resolved via Factory.ResolveAs), together with the active profile, app, and token status. Output is always JSON — whoami is consumed by agents. With the built-in credential path it is local-only; when an external credential provider manages tokens, resolving the identity may contact that provider.
Types ¶
Click to show internal directories.
Click to hide internal directories.