
hi, my question is about API keys and functions when making an app.
- we understand we can create functions in APPWRITE, then call on them in our code in an app.
- This function has its own repository.
- You can't, nor is it safe practice to put api keys in an apps code.
Questions. A. can we put an api key into an appwrite function in a closed repository to enable the creation of a collection and team ext.
B. can we call upon this function from our app to enable users to safely 'do more'.

You should find that this is exactly what you are looking for: https://appwrite.io/blog/post/how-to-leverage-dynamic-api-keys-for-better-security 🙂
Recommended threads
- User Queries not working
When I try to use queries on users, it gives error saying invalid query method. Now, I dont know whether it is possible or not to query users or it’s just some...
- appwrite cli alpine os
the appwrite cli does not work on alpine os if you install it using the recommended bash script. Maybe there is the possibility to compile it for alpine using t...
- Email OTP Mail Getting Delayed by 10 min...
I just noticed I am reciving delayed otp emails on frankfurt server we are on free plan now but we are planning to change to get on to paid plan can anyone plea...
