-
Notifications
You must be signed in to change notification settings - Fork 108
Idea: add cipher step #5
Copy link
Copy link
Open
Description
Hi,
thank you for the automation.
It may be a bad idea to keep plain data if there is some sensible one.
To keep things simple, we can just add a step to encrypt the files.
For example:
- name: Encrypt data.sql
if: env.BACKUP_ENABLED == 'true'
run: |
openssl enc -aes-256-cbc -pbkdf2 -salt -in packages/database/prisma/backups/data.sql -out packages/database/prisma/backups/data.sql.enc -k "$CIPHER_KEY"
rm packages/database/prisma/backups/data.sql
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels