I imported my appwrite project with import data in the migrations, and naturally it doesn't import the API keys. Problem is lots of devices (Access Gates) connected to DB with that API KEY that I can't import. And I cant just create a new one because it needs to be the same secret so I tried to do it with the CLI yet I get "Error Access to this API is forbidden" when I try to run "appwrite console variables". Is what I am trying to is possible? Can you help me? Thanks.
Looks like the endpoint for appwrite console variables is only accessible from the Console SDK. But anyway, appwrite console variables is not for Project variables - that's appwrite project listVariables
But ether way, this doesn't really help you much. Project variables aren't really what you need here. To my understanding, no, there's no way to tell Appwrite to use a custom value as an API key
Thanks for the answer!
If your issue has been solved, you can mark this post as closed by adding “[SOLVED]” to the beginning of the title
Recommended threads
- AppwriteException: Invalid query: Query ...
```js console.log(typeof interaction.user.id) console.log(interaction.user.id) const user_check = await TablesDB.listRows({ databaseId: "db", ...
- Files access permissions
Am I right in understanding that file access permissions have been disabled (or broken again), and that shared access can now only be organized via tokens? Or i...
- functions custom domain issues in self h...
I’m running self-hosted Appwrite (Docker) behind Traefik with Cloudflare proxy (Full/Strict). Main domain works: https://app.printa4.in Function subdomains fa...