AcademyWorkflowsDevelopment

Backup your credentials to GitHub

IT and operations teams that run n8n and want a versioned copy of their credentials in GitHub.

  • Recommendedour rating
  • 10,049views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

backup-your-credentials-to-github.json

Loading the file...

What it does

An n8n workflow that exports all your credentials with a CLI command and saves them to a GitHub repository. For each credential it checks whether a file with that ID exists, then updates it, creates it or skips it if nothing changed. The exported credentials are decrypted.

Use cases

  1. 01Keep a versioned backup of n8n credentials
  2. 02Detect which credentials changed since the last run
  3. 03Restore credentials after moving to a new instance

Connects

GitHub · HTTP Request · Code

Questions about
Backup your credentials to GitHub.

What is Backup your credentials to GitHub used for?

IT and operations teams that run n8n and want a versioned copy of their credentials in GitHub. An n8n workflow that exports all your credentials with a CLI command and saves them to a GitHub repository. For each credential it checks whether a file with that ID exists, then updates it, creates it or skips it if nothing changed. The exported credentials are decrypted.

How do I import Backup your credentials to GitHub into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Backup your credentials to GitHub safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.