Authentication CLI
Command-line tool that provides a complete authentication workflow including user registration, login, Multi-Factor Authentication (MFA), and API key management.
Complete How-To Guide
Features
Prerequisites
Installation
Option 1: Download Pre-built Binary
Option 2: Install from Source
Option 3: Using Go Install
Getting Started
Basic Command Structure
Global Flags
View Available Commands
User Registration
Step 1: Create a New Account
Example Output
Account Verification
Step 1: Login to Get Access Token
Step 2: Verify Your Account
Example Output
Login and Authentication
Standard Login
Save Tokens to Config
Login Output (Without MFA)
Multi-Factor Authentication (MFA)
Setting Up MFA
Login with MFA
Disabling MFA
API Key Management
Create an API Key
List Your API Keys
Revoke an API Key
Configuration
Configuration File
Environment Variables
Priority Order
Advanced Usage
Using Different Environments
JSON Output for Scripting
Refresh Expired Tokens
Check Current User
Troubleshooting
Common Issues
Debug Mode
Getting Help
Security Best Practices
Complete Workflow Example
Next Steps
Additional Resources
Last updated