Documentation Index
Fetch the complete documentation index at: https://mintlify.com/hypertekorg/hyperstack/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
The Hyperstack CLI requires authentication to deploy stacks, manage builds, and generate SDKs from remote stacks.Login
Authenticate with your API key:~/.config/hyperstack/credentials.toml.
Non-interactive Login
Provide the API key directly (useful for CI/CD):Getting an API Key
- Sign up at usehyperstack.com
- Navigate to Settings → API Keys
- Create a new API key
- Copy the key (it’s only shown once)
Check Authentication Status
Local Status (No API Call)
Verify with API
Logout
Remove stored credentials:~/.config/hyperstack/credentials.toml.
Using in CI/CD
GitHub Actions
.github/workflows/deploy.yml
GitLab CI
.gitlab-ci.yml
Environment Variables
Alternatively, set the API key as an environment variable:HYPERSTACK_API_KEY if present, falling back to stored credentials.
Credentials Storage
Location
- macOS/Linux:
~/.config/hyperstack/credentials.toml - Windows:
%APPDATA%\hyperstack\credentials.toml
Format
credentials.toml
Permissions
The credentials file is created with0600 permissions (owner read/write only) for security.
Security Best Practices
- Never commit API keys to version control
- Rotate keys regularly from the dashboard
- Use separate keys for different environments (development, staging, production)
- Revoke keys immediately if compromised
- Use CI/CD secrets for automated deployments
Troubleshooting
Invalid API Key
- Verify the key is correct
- Check if the key has been revoked
- Generate a new key from the dashboard
Permission Denied
Network Errors
- Check your internet connection
- Verify firewall settings
- Check if
api.usehyperstack.comis accessible