user_registry_credential.yml Reference¶
File path: /opt/omnia/input/user_registry_credential.yml
This file provides authentication credentials for user-defined container or
package registries referenced in local_repo_config.yml.
User Registry Credential Parameters¶
|
Parameter |
Details |
|---|---|
|
user_registry_credential list / elements=dict / required |
List of user registry credentials. Each entry maps a registry name to its authentication details. |
|
name string / required |
User registry name. Must match the exact name provided in local_repo_config.yml. |
|
username string |
Username to authenticate with the user registry. Provide if the registry requires username-based authentication. |
|
password string |
Password to authenticate with the user registry. Provide if the registry requires password-based authentication. |
Usage example¶
---
user_registry_credential:
- name: "my_private_registry"
username: "admin"
password: ""
- name: "docker_hub"
username: "user"
password: ""
Note
- The
namefield must match the exact registry name provided inlocal_repo_config.yml. - Leave
usernameandpasswordempty if the registry does not require authentication.