Skip to content
Back

saving private_keys

  • 0
  • Functions
ks
5 Mar, 2025, 18:47

I cannot save my jwt private keys in the global .env for my function to use them. I have tried putting "" around them, I have tried the normal way with no special characters and saving them like this PRIVATE_KEY=89A80DA but using the exact same methods i have made several methods work on my pc but not on appwrite.

Already put in a lot of time on this and wondering if theres something im missing. When I context.log it, it looks fine but just cant get anything to work

TL;DR
Developers having trouble saving jwt private keys in the global .env for their function to use in Appwrite. Tried different methods but keys work on PC, not in Appwrite. Context.log shows keys fine but still can't get them to work.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more