generated from 47ng/typescript-library-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Issue description
Hi there, Thank you for that amazing package.
I have tried to use this package with turbo repo and it was working fine on local
But when I have put it in production (Vercel), I have got the following issue
Error: [prisma-field-encryption] Error: no encryption key provided.
What I have Tried
- I have put the encryption key on my vercel project as always, (this was already made on first deployement)
- Then I have changed the key name from my own to "PRISMA_FIELD_ENCRYPTION_KEY" as mentioned in your docs
But I still get the same issue
Solution found
Finally I had to take all my local env to .env.local (not version controlled) an encryption key to .env(version controlled) that is not secure. My project is private and I am alone on I think this is not secure. By the way it is working with this solution
Version
{
"prisma": "^5.21.0",
"prisma-field-encryption": "^1.6.0"
}
freddydrodev
Metadata
Metadata
Assignees
Labels
No labels