..

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   the default timeout for network commands executed (default "1m")
      --config string           Configuration file to use during execution (default "/Users/lefebl4")

SEE ALSO

Auto generated by spf13/cobra on 4-Sep-2025