pcl-login - Log in to Payara Cloud instance.


pcl login [-hqV] [--print-token] [-a=<applicationName>] [-n=<namespaceName>] [-o=<outputFormat>] [-s=<subscriptionName>]


Log in to Payara Cloud instance. Browser-based flow will start in order to log in to Payara Cloud management endpoint, and token will be stored in home directory.

Non-interactive use: In order to use in non-interactive way such as in CI, use parameter --print-token. After login procedure on interactive terminal the command will print out environment to be set in the CI in order that represents same login credential.


-a, --application=<applicationName>

Name of application to manage.

Not required for commands listed by -n option, as well as list-applications and upload.

-h, --help

Show this help message and exit.

-n, --namespace=<namespaceName>

Name of namespace to manage.

Required for all commands except login, list-namespaces and create-namespace.

-o, --output=<outputFormat>

Output format. Allowed values: TEXT, JSON.


Print out environment setting to be used to use this token in non-interactive way.

-q, --quiet

Quiet output.

Only result of operations will be displayed to stdout, or error message to stderrr.

-s, --subscription=<subscriptionName>

Name of subscription to use. Only necessary when account has access to multiple subscriptions.

-V, --version

Print version information and exit.