Access a Vault Cluster on HCP
Now that you have created a new HCP Vault instance, you will need to perform some initial configuration to support your use case such as enabling secrets engines to store or generate secrets, or adding additional auth methods to allow users or applications to authenticate with HCP Vault.
HCP Vault provides the same type of access as a traditional Vault cluster. You can access it through a command line interface (CLI) using the Vault binary, through the Vault API using common programming languages or tools such as cURL, or by using the Vault User Interface (UI).
Access the Vault cluster
When an HCP Vault cluster has public access enabled, you can connect from any internet connected device. When the HCP Vault cluster has private access enabled you will need to access the cluster from a connected cloud provider such as AWS with a VPC peering connection, a AWS transit gateway connection, or Azure with a Azure Virtual Network peering connection. For the purposes of this tutorial, your cluster should have public access enabled.
From Overview page, click Generate token in the New admin token card.
Click Copy to copy the new token to your clipboard
Under Quick actions in the Access web UI card, click the Public Cluster URL. A new tab/window will open.
Enter the token in the Token field.
Click Sign In. Notice that your current namespace is
You logged into and accessed the HCP Vault cluster at the
namespace. In Vault Enterprise, each namespace can be treated as its own
isolated Vault environment. Learn more about namespaces in the Multi-tenancy
with Namespaces tutorial.