Configuration Automation - Ping CLI

pingcli logout

Logout user from the CLI

Synopsis

Logout user from the CLI by clearing stored credentials. Credentials are cleared from both keychain and file storage. By default, uses the authentication method configured in the active profile. You can specify a different authentication method using the grant type flags.

pingcli logout [flags]

Options

  -a, --authorization-code   Use authorization code flow
  -h, --help                 help for logout
  -c, --client-credentials   Use client credentials flow
  -d, --device-code          Use device authorization flow

Options inherited from parent commands

  -C, --config string          The relative or full path to a custom Ping CLI configuration file. (default $HOME/.pingcli/config.yaml)
  -D, --detailed-exitcode      Enable detailed exit code output. (default false) 0 - pingcli command succeeded with no errors or warnings. 1 - pingcli command failed with errors. 2 - pingcli command succeeded with warnings.
  -O, --output-format string   Specify the console output format. (default text) Options are: json, text.
  -P, --profile string         The name of a configuration profile to use.
      --no-color               Disable text output in color. (default false)

More information

  • pingcli - A CLI tool for managing the configuration of Ping Identity products.