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
- No proper build logs on fail
I am trying to deploy my vite project on site but build is failing without even showing proper error logs. In image you can see there is not any build error lo...
- available domain shows unavailable
I am trying to deploy my project on site, but while creatiing the site it shows the domain 'insightly' isnt available. even though if i visit https://insightly...
- type generation on same columns in table
is there way to prevent this ? or only need to update column name like table prefix?