Is it safe to save an API endpoint or authentication token that's required for communication by dart cloud function file inside the file using variable?
I'll appreciate a better and secure say to do so if answer was no
For the endpoint it's okay. For the API key if you'll put it as plain text it's not bad as the it's inside a file that is in a secure location
But it's recommend to use environment variables. You can set those in the function settings page
The reason for that is that environment variables are stored encrypted inside the database.
Env variable was also what I saw on the net, but how do I do that please, haven't gotten any descriptive way, since am about using dart cloud function for the first time
I see
I'll check how to, I appreciate you dearly @Binyamin for coming through
These are the two places which you can add environment variables
wow, I just understood after watching for more than one time.
Nice, this is great job done by appwrite team.
I appreciate you @Binyamin
I guess you're one of the moderators?
I guess you're one of the moderators? No,
Okay, nice job, I appreciate your tireless efforts and help
I was able to create env variables like breeze ✌️
[SOLVED] Where to store function keys/tokens?
Recommended threads
- Dart Runtime as Function is missing
Hey guys, I set the _APP_FUNCTIONS_RUNTIMES to dart-3.10 and redeployed the appwrite stack but unfortunately the dart runtime doesnt show up. I copied the val...
- Go 1.25 runtime
So I'm trying to use go 1.25 for my functions and I can only find go-1.23 as a function runtime. So I did some searching and found https://github.com/appwrite/a...
- Python TablesDB Rework
Hi, i starting to rework some older functions to TablesDB list_rows Method. I used list_documents with a resultset with worked fine. Now i tried to get all rows...