Skip to content

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

File: /opt/omnia/input/user_registry_credential.yml
---
user_registry_credential:
  - name: "my_private_registry"
    username: "admin"
    password: ""
  - name: "docker_hub"
    username: "user"
    password: ""

Note

  • The name field must match the exact registry name provided in local_repo_config.yml.
  • Leave username and password empty if the registry does not require authentication.