NGC API Key#

First you will need to sign into NGC with your NVIDIA account and password.

_images/ngc1.png

Navigate to setup.

_images/ngc2.png

Select “Get API Key”.

_images/ngc3.png

Generate your API key.

_images/ngc4.png

Confirm Generate a New API Key.

_images/ngc5.png

Copy your API Key to the clipboard

Note

Selecting confirm will generate a new API key, and your old API key will become invalid (if applicable).

_images/ngc6.png

When you are interacting with the repository from the command line you are required to use an API key if you want to pull locked container images or push back to the registry. The API key is unique to you and tied to your account.

Important

Keep your API key secret and in a safe place. Do not share it or store it in a place where others can see or copy it.

Configure your CLI to use the API Key.

ngc config set

When prompted enter your NGC config.