Create an API Key
The PowerShell Gallery supports creating multiple API keys to support a range of publishing requirements. An API key can apply to one or more packages, grants specific privileges, and has an expiration date.
Creating an API key
Click on your username and select API Keys from the menu.
Select +Create to create a new key.
Select the options you want and select the Create button.
For more information, see Managing API keys.