pingcli login
Authenticate a supported provider
Synopsis
Authenticate the CLI to a supported provider, using one of the supported authorization grant types.
pingcli login [flags]
Options
-a, --authorization-code Use authorization code flow
-h, --help help for login
-c, --client-credentials Use client credentials flow
-d, --device-code Use device authorization flow
-p, --provider string Authentication provider to use. Defaults to 'pingone' if not specified.
--storage-type string Auth token storage (default: secure_local) secure_local - Use OS keychain (default) file_system - Store tokens in ~/.pingcli/credentials none - Do not persist tokens
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.