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
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error