n8n export:credentials --all --decrypted --output=backups/decrypted.json

Category: n8n & Workflow Automation

n8n export:credentials --all --decrypted --output=backups/decrypted.json

Export credentials in plain text

Writes every credential with its secrets in plain text, required when migrating to an instance with a different encryption key. Treat this file like a password vault, since anyone who reads it can use every stored API key and password. Delete it as soon as the migration finishes.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.