Back to list
nylas auth migrate を使用して v2 から v3 への移行
Using nylas auth migrate to migrate from v2 to v3
Translated: 2026/4/25 2:00:49
Japanese Translation
すべてのメール、スケジュール、および連絡先操作には認証が必要です。nylas auth migrate がこのレイヤーを管理します。
nylas auth migrate コマンドは、Nylas API v2 から v3 へ CLI 認証をアップグレードします。格納された認証情報と授权形式をแปลง換することで、移行後も既存のスクリプトと自動化処理が動作し続けます。
移行を実行:
nylas auth migrate
移行のステータスを確認(実行後):
nylas auth migrate && nylas auth status
nylas auth migrate
CLI は認証情報を安全にシステンプーのキーチェーン(macOS Keychain、Linux Secret Service、Windows Credential Manager)に格納します。トークンは自動的に更新されます — 一度だけ認証すれば、コマンドは自動的に動作します。
v2 の認証情報が存在しない場合
移行時に許可エラーが発生する場合
完全なドキュメント:nylas auth migrate reference — すべてのフラグ、高度な例、トラブルシューティング。
すべてのコマンド:Nylas CLI Command Reference
始める:brew install nylas/nylas-cli/nylas — 他のインストール方法
Original Content
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.
Run migration:
nylas auth migrate
Check migration status after:
nylas auth migrate && nylas auth status
nylas auth migrate
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.
No v2 credentials found
Migration fails with permission error
Full docs: nylas auth migrate reference — all flags, advanced examples, and troubleshooting.
All commands: Nylas CLI Command Reference
Get started: brew install nylas/nylas-cli/nylas — other install methods