n8n export:credentials --all --output=credentials.json

Category: n8n & Workflow Automation

n8n export:credentials --all --output=credentials.json

Export all credentials to one file

Saves every credential into a single JSON array at credentials.json, still encrypted. This pairs with n8n import:credentials for moving credentials between instances that share the same encryption key. For a plain-text migration, add --decrypted.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.