Backup your credentials to GitHub

Based on Jonathan's 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 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.==

Check out my other templates πŸ‘‰ https://n8n.io/creators/solomon/

0
Downloads
10051
Views
8.44
Quality Score
beginner
Complexity
Created:8/14/2025
Updated:11/17/2025

πŸ”’ Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments