Every email, calendar, and contact operation requires auth. nylas auth migrate manages that layer.
The nylas auth migrate command upgrades your CLI authentication from Nylas API v2 to v3. It converts stored credentials and grant formats so existing scripts and automation continue working after the migration.
Examples
Run migration:
nylas auth migrate
Enter fullscreen mode
Exit fullscreen mode
Check migration status after:
nylas auth migrate && nylas auth status
Enter fullscreen mode
Exit fullscreen mode
Syntax
nylas auth migrate
Enter fullscreen mode
Exit fullscreen mode
How It Works
The CLI stores credentials securely in your system keychain (macOS Keychain, Linux Secret Service, or Windows Credential Manager). Tokens are refreshed automatically â you authenticate once and commands just work.
Common Issues
No v2 credentials found
This means you're already on v3, or no accounts were connected under v2.…