Can't generate multiple API keys?

I see that it is old topic, but i couldn’t find new one, so i will just ask here.

I know that you guys introduced multiple API keys, and they can be added from discourse UI for specific user.
The question is, is it possible to generate api_key for specific user on its creation, or any time after, but not from the UI.
I want to give api_key to user with the API, with main api_key.

Thanks!

2 Curtiram