Forum

Creating an API_KEY for the API says it will overwrite a previous API_KEY

Jon Rosen 2023-05-09 09:49:45 UTC in Other

Creating an API_KEY for the API says it will overwrite a previous API_KEY... But it appears we are already using an existing key which is marked "hidden" so I can't use it and I don't want to cause any other script (which I don't know about) to stop working if I overwrite the previous API_KEY

I asked this question earlier in a chat but didn't hear back. Thanks!

Aleksandr 2023-05-10 15:42:54 UTC 

This is implemented for security reasons, WMSpanel indeed won't show you an existing API_KEY, you can only overwrite it.
If you have WMSpanel API credentials present in any running script you can take these active creds from that script.
Alternatively, you can add another user, give that user with 'admin' rights, enable 'API access', generate user-specific creds.

Jon Rosen 2023-05-10 20:34:45 UTC 

Ah a different user. That makes total sense. I will figure this out and thank you!

Jon

Post a reply


Post a new question

Categories:

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.