FM
FlowMarket
DevOps & GitHub Advanced ⚡ 25 n8n Nodes

Backup your credentials to GitHub

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 i...

🔌 Nodes & Integrations Used (4)

HTTP Request GitHub Execute Command Execute Workflow Trigger

📖 Implementation & Setup Guide

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 credential's 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.==

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Backup your credentials to GitHub.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related DevOps & GitHub Workflows

View All in DevOps & GitHub →