Title. Should I give these through env variables or can I just hardcode them in my function wihtout having to worry
function code is not exposed in any sense unless you do it, not a good practice but yes it is safe
though in future if you wanna share your code or host it with teammates on version control its best to use env vars
Recommended threads
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...