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
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- Our Appwrite organization is suspended
Please give support regarding this , no app is working now , please solve my issue and give support , no one is replying in message section or email.
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...