--- layout: docs page_title: hcp - Command description: |- Use "hcp" commands to authenticate users and machines to HCP with explicit credentials or an HCP token and interactive browser login and to invalidate any live authentication session. --- # hcp Use `hcp` commands to manage authentication to HCP via proxy, which allows clients to connect to this cluster securely over the internet with a proxy address and to invalidate any live authentication session. ## Examples Connect to HCP: ```shell-session $ vault hcp connect The default web browser has been opened at . Please continue the login in the web browser. Success! ``` Disconnect from HCP: ```shell-session $ vault hcp disconnect ```