Back to list
実用的な nylas auth scopes ガイド
A Practical Guide to nylas auth scopes
Translated: 2026/4/25 2:00:28
Japanese Translation
認証は、ターミナルとメールボックスの間のゲートです。nylas auth scopes がこれを行います。
ylas auth scopes コマンドは、接続済みアカウントに付与されている OAuth 権限(メールの読み取り、メールの送信、カレンダーへのアクセス、連絡先へのアクセスなど)を示します。権限エラーのデバッグや、最少権限アクセスの確認に便利です。
CLI は、システムキーチェーン(macOS Keychain、Linux Secret Service、Windows Credential Manager)にCredentials を安全に保存します。トークンの自動再発効により、一度認証しただけでコマンドが自動的に機能します。
ylas auth scopes [grant-id]
アクティブアカウントの権限を表示:
nylas auth scopes
特定の grant の権限を表示:
nylas auth scopes grant_abc123
nylas auth scopes --help を実行して、利用可能なすべてのフラグを確認します。--json を追加して機械読み取り可能な出力を取得します(jq にパイプしたり、スクリプトにデータを供給したりする際に便利です)。
nylas auth scopes --help
完全なドキュメント:nylas auth scopes 参照 — すべてのフラグ、高度な例、トラブルシューティング。
すべてのコマンド:Nylas CLI Command Reference
始め方:brew install nylas/nylas-cli/nylas — 他のインストール方法
Original Content
Authentication is the gate between your terminal and your mailbox. nylas auth scopes handles it.
The nylas auth scopes command shows which OAuth permissions are granted for a connected account — email read, email send, calendar access, contacts access, and more. Useful for debugging permission errors or verifying least-privilege access.
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.
nylas auth scopes [grant-id]
Show scopes for active account:
nylas auth scopes
Show scopes for specific grant:
nylas auth scopes grant_abc123
Run nylas auth scopes --help to see all available flags. Add --json for machine-readable output — useful when piping into jq or feeding data to scripts.
nylas auth scopes --help
Full docs: nylas auth scopes reference — all flags, advanced examples, and troubleshooting.
All commands: Nylas CLI Command Reference
Get started: brew install nylas/nylas-cli/nylas — other install methods