How to allow users to get their API Key

AI-generated summary

Allowing Users to Get Their API Key

Matthieu_Rioual wants to create a daskeyboard 5Q applet to make a keyboard key blink when there are unread Discourse notifications. However, users cannot currently find their own API Key in their profile. Falco replied that an easy UI for generating user API keys is not available, but provided a script for testing purposes: Generating User API Keys for testing. Matthieu_Rioual acknowledged the response, but needs a more user-friendly solution for his applet.

I want to create an applet for daskeyboard 5Q that makes keyboard key blink when I have an unread discourse notification. I cannot find a way for a user to find his own API Key. I found that an admin can generate such a key for users but this is not what I am looking for. Ideally, users would be able to find their key in their user profile. Is it possible?

We don’t have an easy UI to generate user API keys at the moment.

If you want to create a proof of concept, you can use this script to get one Generating User API Keys for testing

Please share the results when you get it working, sounds pretty cool!

Thanks Rafael for your answer, i already knew this mean to generate API keys but since the applet had to be a “click and work” node application i have to re-discuss about it with my superior. I will let you know about it. Greetings