auth
The auth command stores, verifies, and removes provider tokens in the OS credential store (macOS Keychain, Windows Credential Manager, or libsecret on Linux). Tokens stored here are picked up automatically by all other commands.
Subcommands
auth set <provider> [value]
Verify a token and store it in the keyring.
holocron auth set github.admin ghp_xxxholocron auth set github.read ghp_yyyholocron auth set vercel v_xxxholocron auth set doppler dp.st.xxxIf value is omitted, the CLI reads from:
HOLOCRON_<PROVIDER>_TOKENenv var (uppercased, dots replaced with underscores)<PROVIDER>_TOKENvendor-native env var
# Read from envHOLOCRON_GITHUB_ADMIN_TOKEN=ghp_xxx holocron auth set github.adminThe command dynamically loads the corresponding plugin (@theholocron/holocron-plugin-<provider>) and calls its verifyToken export before storing. If verification fails, the token is rejected with an explanation.
1Password note: holocron auth set 1password does not store a token — the op CLI manages its own auth. The command prints the AUTH_HINT instead.
auth unset <provider>
Remove a stored token from the keyring.
holocron auth unset github.readholocron auth unset vercelauth check <provider>
Re-verify a stored token without re-prompting for a new one. Useful for confirming a token hasn’t expired.
holocron auth check github.adminExits with code 1 if the token is missing, expired, or rejected by the provider.
auth list
List every provider that has a stored token in the keyring.
holocron auth listOutput example:
github.admin ✓ storedgithub.read ✓ storedvercel ✓ storedProvider names
| Provider name | Plugin |
|---|---|
github.admin |
@theholocron/holocron-plugin-github (admin token) |
github.read |
@theholocron/holocron-plugin-github (read token) |
github.issues |
@theholocron/holocron-plugin-github (issues token) |
github.sync |
@theholocron/holocron-plugin-github (sync token) |
github.release |
@theholocron/holocron-plugin-github (release token) |
vercel |
@theholocron/holocron-plugin-vercel |
doppler |
@theholocron/holocron-plugin-doppler |
infisical |
@theholocron/holocron-plugin-infisical |
clerk |
@theholocron/holocron-plugin-clerk |
neon |
@theholocron/holocron-plugin-neon |
postman |
@theholocron/holocron-plugin-postman |
See the Token Reference for the env var names and PAT scopes each token needs.