DEV Community

Qasim Muhammad
Qasim Muhammad

Posted on • Edited on • Originally published at cli.nylas.com

nylas auth providers: Developer Reference with Examples

Need to list available providers? One command.

The nylas auth providers command lists every email provider the CLI supports — Gmail, Outlook, Exchange, Yahoo, iCloud, and IMAP. Each entry shows the provider name, authentication method (OAuth or credentials), and supported features.

Quick Start

brew install nylas/nylas-cli/nylas
nylas init
nylas auth providers
Enter fullscreen mode Exit fullscreen mode

Syntax

nylas auth providers
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.

When to use this command

Authentication commands manage API credentials and provider connections. Use auth config for initial setup, auth login to connect a mailbox, auth status to verify.

Examples

List providers:

nylas auth providers
Enter fullscreen mode Exit fullscreen mode

JSON output:

nylas auth providers --json
Enter fullscreen mode Exit fullscreen mode

Related Commands


Related posts

Full docs: nylas auth providers reference — all flags, advanced examples, and troubleshooting.

All commands: Nylas CLI Command Reference

Get started: brew install nylas/nylas-cli/nylasother install methods

Top comments (0)