diff --git a/datacenter/ucp/3.0/guides/user/access-ucp/cli-based-access.md b/datacenter/ucp/3.0/guides/user/access-ucp/cli-based-access.md index f9b06d0c63..32e8c74fe5 100644 --- a/datacenter/ucp/3.0/guides/user/access-ucp/cli-based-access.md +++ b/datacenter/ucp/3.0/guides/user/access-ucp/cli-based-access.md @@ -4,32 +4,21 @@ description: Learn how to access Docker Universal Control Plane from the CLI. keywords: ucp, cli, administration --- -Docker UCP secures your swarm by using role-based access control, -so that only authorized users can perform changes to the cluster. +With Universal Control Plane you can continue using the tools you know and +love like the Docker CLI client and Kubectl. You just need to download and use +a UCP client bundle. -For this reason, when running docker commands on a UCP node, you need to -authenticate your request with client certificates. When trying to run docker -commands without a valid certificate, you get an authentication error: +A client bundle contains a private and public key pair that authorizes your +requests in UCP. It also contains utility scripts you can use to configure +your Docker and Kubectl client tools to talk to your UCP deployment. -```none -$ docker ps - -x509: certificate signed by unknown authority -``` - -There are two different types of client certificates: - -* Admin user certificate bundles: allow running docker commands on the - Docker Engine of any node, -* User certificate bundles: only allow running docker commands through a UCP - manager node. ## Download client certificates To download a client certificate bundle, log in to the UCP web UI and -navigate to your **My Profile** page. +navigate to the **My Profile** page. -In the left pane, click **Client Bundles** and click **New Client Bundle** +In the left pane, click **Client Bundles** and choose **New Client Bundle** to download the certificate bundle. {: .with-border} @@ -39,38 +28,78 @@ to download the certificate bundle. Once you've downloaded a client certificate bundle to your local computer, you can use it to authenticate your requests. -Navigate to the directory where you downloaded the user bundle, and unzip it. -Then source the `env.sh` script. +Navigate to the directory where you downloaded the user bundle, and extract the +zip file into a directory. Then use the utility script appropriate for your +system: +
+