pcloud auth login

Login for pcloud

Synopsis

Login for pcloud.

Prompt for a user login.

When you provide either or both of the --account and --cloudInstance flags, pcloud will skip prompting you for those values and will instead verify that your authenticating user is authorized to those resources and if so, will set those values for the authenticated user.

When you provide --serviceAccountKey, the command will look to that file and attempt to use those credentials to authenticate. When the command does not find that file or it is not of the correct form, the command will warn you and then fallback to prompting you for authencitation.

Note: in cases where you are providing --serviceAccountKey the authentication will be short lived; meaning you will need to login again.

pcloud auth login [flags]

Options

  -a, --account string             Set the Account after authentication
  -c, --cloudInstance string       Set the Cloud Instance (via name or ID) after
                                   authentication
  -h, --help                       help for login
  -s, --serviceAccountKey string   Path to a service account key file to use for
                                   authentication

Options inherited from parent commands

  -F, --format string      Available formats: 'table', 'yaml', 'json', 'csv'.
                            Default is command specific.
                            Can be used with describe and list subcommands.
  -D, --log.dir string     Override Log file directory
  -L, --log.file string    Override Log file name
  -V, --verbosity string   Override Log verbosity

SEE ALSO