Name
pcl-login - Log in to Payara Cloud instance.
Synopsis
pcl login [-hqV] [--print-token] [-a=<applicationName>] [-n=<namespaceName>] [-o=<outputFormat>] [-s=<subscriptionName>]
Description
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.
Options
- -a, --application=<applicationName>
-
Name of application to manage.
Not required for commands listed by
-n
option, as well aslist-applications
andupload
. - -h, --help
-
Show this help message and exit.
- -n, --namespace=<namespaceName>
-
Name of namespace to manage.
Required for all commands except
login
,list-namespaces
andcreate-namespace
. - -o, --output=<outputFormat>
-
Output format. Allowed values: TEXT, JSON.
- --print-token
-
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 tostderrr
. - -s, --subscription=<subscriptionName>
-
Name of subscription to use. Only necessary when account has access to multiple subscriptions.
- -V, --version
-
Print version information and exit.