Back Up Your Credentials to GitHub - n8n Workflow | Neura Market
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
IT & Development
Price
Free
Creator
Solomon
if
set
code
noOp
merge
github
switch
stickyNote
httpRequest
manualTrigger
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.