GitHub node
Merge node
+7

Backup your credentials to GitHub

Published 2 months ago

Created by

solomon
Solomon

Categories

DevOps

Template description

Based on Jonathan's workflow backup template

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 name. 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.==

This workflow has been updated to use the n8n node and the code node so requires at least version 0.198.0 of n8n

Share Template

Implement complex processes faster with n8n

red icon yellow icon red icon yellow icon