hcp auth
Command: hcp auth
The hcp auth
command group lets you manage authentication to HCP.
Usage
Examples
Login interactively using a browser:
Login using service principal credentials:
Logout the CLI:
Commands
login
- Login to HCP.logout
- Logout from HCP.print-access-token
- Print the access token for the authenticated account.