I have a bucket where I switched from encryption to not encrypting files. I later realized that files already uploaded earlier stay encrypted. Now I have a bucket where half of the files are encrypted, half are not. Is there a migration script where I can either encrypt or decrypt all files in a bucket? Or can I decrypt the files myself and override the encrypted once?
As per what I know, there's neither any tool present to encrypt/decrypt the existing files nor it is possible to do the same manually. You can perform following steps to decrypt those files:
- Download the encrypted file through Appwrite.
- Re-upload the downloaded content into same bucket (this time encryption disabled).
- After verifying everything works well and all files are as you've desired, delete the old encrypted files.
Recommended threads
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- Next.js SSR Site Times Out on First Visi...
Hey everyone, I'm running a Next.js SSR site on a self-hosted Appwrite server (v1.9.0), and I've noticed a strange behavior that I'm hoping someone can help me...
- Appwrite migration stuck on pending
Migration an existing self hosted 1.9.0 to a new VPS tuning self hosted 1.9.0.. import data recognises the api url, project id and api and then when I create, i...