--- description: Learn how to access Docker Universal Control Plane from the CLI. keywords: docker, ucp, cli, administration title: CLI-based access --- Docker UCP secures your cluster with role-based access control, so that only authorized users can perform changes to the cluster. For this reason, when running docker commands on a UCP node, you need to authenticate your request using client certificates. When trying to run docker commands without a valid certificate, you get an authentication error: ```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 into the **UCP web UI**, and navigate to your user **profile page**. ![](../../images/cli-based-access-1.png){: .with-border} Click the **Create a Client Bundle** button, to download the certificate bundle. ## Use client certificates 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. ```none $ unzip ucp-bundle-dave.lauper.zip $ cd ucp-bundle-dave.lauper $ eval $(","password":""}' https:///auth/login | jq -r .auth_token) # Download the client certificate bundle $ curl -k -H "Authorization: Bearer $AUTHTOKEN" https:///api/clientbundle -o bundle.zip ``` ## Where to go next * [Access the UCP web UI](index.md)