Exercise guide — refer to the official documentation for full details.
Credential assets store authentication details for accessing private container registries, S3 buckets, and other secured resources.
The NGC API key credential is used to securely store the authentication key required for access to NVIDIA's services. To obtain a key, go to NGC → Setup → API Key, then generate or copy an existing key.
Navigate to Workload Manager > Assets > Credentials
Click + New Credential
Select NGC API Key as the type
Select the default department as the scope
Fill in:
| Field | Value |
|---|---|
| Name | ngc-private-registry |
| NGC API Key | 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 |
Click Create Credential
Check the Assets > Credentials page — the credential should be listed.
!!! warning
Never hardcode credentials in environment variables or Dockerfiles. Always use credential assets.