Pivotal Container Service v1.0

Log in to PKS

Page last updated:

On the command line, run the following command to log in to the PKS CLI:

pks login -a PKS_API -u USERNAME -p PASSWORD --ca-cert CERT-PATH

Replace the placeholder values in the command as follows:

  • PKS_API is the domain name you entered in Ops Manager > Pivotal Container Service > UAA > UAA URL. For example,
  • USERNAME and PASSWORD belong to the account you created in the Grant Cluster Access to a User step in the Manage Users in UAA topic.
  • CERT-PATH is the path to your root CA certificate. Provide the certificate to validate the PKS API certificate with SSL. If you are logging in to a trusted environment, you can use -k to skip SSL verification instead of --ca-cert CERT-PATH.

The following example command uses SSL validation:

$ pks login -a -u alana -p my-password --ca-cert /var/tempest/workspaces/default/root_ca_certificate

The following example command skips SSL validation:

$ pks login -a -u alana -p my-password -k

Create a pull request or raise an issue on the source for this page in GitHub