Create an API Key

Create an API key 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

  1. Click on your username and select API Keys from the menu.

  2. Select +Create to create a new key.

    API Key properties API Key properties

  3. Select the options you want and select the Create button.

For more information, see Managing API keys.