Developer Resources
Encrypted Data Backups
3min
this page describes how we utilize encrypted backups on the platform and how you can leverage this with our api explainer when creating nodes via our dashboard there's a lot that goes on behind the scenes to make sure your node is secure but still usable from the site to acheive this, we backup the seed phrase and admin macaroon after they are encrypted client side this allows us to still display connection information and other functionality (like thunderhub) without ever being able to actually see your credentials because we can't automate these tasks for you when creating nodes from the api, you will have to perform these backups yourself you will not be able to use things like connection tab or thunderhub without backing up an encrypted macaroon encryption example we use aes 256 when encrypting and decrypting the data on our dashboard, we use the node's password as the secret key for encryption here's what that would look like in node js import aes from 'crypto js'; const encryptedstring = aes encrypt(base64macaroondata, 'mysecretpassword') tostring() endpoints using the above encryption example, you are able to make encrypted strings of text for both your admin macaroon and seed phrase with the upload seed and upload macaroon endpoints, you are able backup that encrypted data for later use