..

docs/content/cmds/aws-sso_whoami.md## aws-sso whoami

Check your current AWS STS settings

Synopsis

Returns the current working environment. Uses the sts package to get the called identity information. If in an EKS environment, will gather cluster information.

Similar to running: aws sts get-caller-identity

aws-sso whoami [flags]

Options

  -h, --help   help for whoami

Options inherited from parent commands

      --as string               Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
      --as-group stringArray    Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
      --commandTimeout string   timeout for network commands executed (default "1m")
      --config string           Configuration file to use during execution (default "/Users/louislef299")
      --debug                   add debug message headers to logger

SEE ALSO

Auto generated by spf13/cobra on 19-Nov-2025