Add ability to generate API key with enter key