hexr login saves your Hexr Cloud API key to ~/.hexr/config.json so that subsequent hexr push --cloud and hexr deploy --cloud calls can authenticate without prompting. You only need to run this once per machine — or when you rotate your API key. Your key is scoped to a specific tenant and role, which are stored alongside it and used by all cloud-connected commands.
Usage
Options
Your Hexr Cloud API key. Keys follow the format
hxr_live_<64 hex characters>.Cloud API endpoint. Override this when connecting to a self-hosted Hexr Cloud API.
Show your current authentication status without modifying stored credentials.
What gets stored
hexr login writes a JSON file to ~/.hexr/config.json:
hexr push --cloud— builds your container via Google Cloud Buildhexr deploy --cloud— deploys to Hexr Cloud’s managed GKE clusterhexr status— lists agents deployed in your Hexr Cloud tenant