Documentation menu: xverctl CLI
Sign in, profiles, and projects
Sign in to xverctl, store API tokens in your system keychain, and switch between profiles and projects
xverctl uses the same API tokens as XVer API, with built-in system keychain storage and multi-profile switching.
Sign in#
xverctl auth login # approve a code at https://my.xver.cloud/device
echo "$TOKEN" | xverctl auth login --with-token
xverctl auth status
xverctl auth logout # revokes the token and removes it from this computerTokens can also be created in the console under Account > API tokens, scoped to specific projects and levels (read, manage, delete).
How tokens are stored#
- Tokens are stored in your system keychain (
macOS Keychain,
Windows Credential Manager, or
Linux Secret Service).
- When no keychain is available, xverctl asks before writing to
~/.config/xver/credentials/<profile>with owner-only permissions. SetXVER_CREDENTIAL_STORE=fileto skip the prompt. - There is no
--tokenflag, keeping secrets out of process lists and shell history. - In CI, skip
auth loginand passXVER_TOKENas an environment variable.
Token precedence#
XVER_TOKENenvironment variable- Profile specified by
--profileorXVER_PROFILE - Active profile in
~/.config/xver/config.yaml
Profiles and projects#
~/.config/xver/config.yaml (mode 0600, never stores tokens) holds named profiles with API URL, default project, and output format.
xverctl auth login --profile staging --with-token < token.txt
xverctl profile list
xverctl profile use staging
xverctl project list
xverctl project use my-project # default project for current profile
xverctl server list -p other-project # override for a single commandA token scoped to a single project needs no project flag. Commands that create resources require a project via --project, XVER_PROJECT, or xverctl project use.