gibil auth
Manage authentication and API tokens
Configure your Hetzner token and optional Gibil API key. Auth is required for VM operations but the Gibil platform account is optional.
Usage
gibil auth <subcommand>Subcommands
gibil auth setup --token <token>
Save your Hetzner API token locally.
gibil auth setup --token hc_xxxxxxxxxxxx
# ✓ Hetzner token saved to ~/.gibil/config.jsongibil auth login --key <key>
Log in with a Gibil API key (for paid plans with metering).
gibil auth login --key pk_live_xxxxx
# ✓ Logged in as alex@example.com (dev plan)gibil auth status
Check current authentication status.
gibil auth statusgibil auth logout
Remove stored credentials.
gibil auth logoutAuth is optional. Without a Gibil API key, the CLI works the same — you just provide your own Hetzner token and pay Hetzner directly.
Next steps
- Quick Start — forge your first server
- Hetzner Setup — get an API token
- gibil usage — check plan limits