..

docs/content/cmds/aws-sso_logout.md## aws-sso logout

Logs you out of your SSO session

Synopsis

Removes the locally stored SSO tokens from the client-side cache, sends an API call to the IAM Identity Center service to invalidate the corresponding server-side IAM Identity Center sign in session, and removes the token locally.

aws-sso logout [flags]

Options

  -c, --clean   clean out your current SSO cache
  -f, --force   skip the safety checks and force a logout action
  -h, --help    help for logout

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