Back Up Your Credentials to GitHub

Based on [Jonathan's](https://n8n.io/creators/jon-n8n/) work. Check out his templates. This workflow will backup your credentials to GitHub. It uses a CLI command to export all credentials. It then loops over the data, checks in GitHub to see if a file exists that uses the credentials ID. Once checked, it will: - Update the file on GitHub if it exists; - Create a new file if it doesn't exist; - Ignore if it's the same. ### Config Options **repo.owner** - GitHub owner **repo.name** - GitHub repository name **repo.path** - Path within the GitHub repository **The credentials are all decrypted. Make sure you save them safely or tweak the CLI command to store them encrypted.** ### Check out my other templates ā˜€ļøšŸŒŠ [**https://n8n.io/creators/solomon/**](https://n8n.io/creators/solomon/)

Platform
n8n
Category
Development & IT
Price
$14.99
Creator
Solomon

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Development & IT workflows

More from Solomon

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.