Creating a Registry Credential
Enter Details
- Name: a unique identifier (e.g.,
ghcr-auth,harbor-prod) - Username: your registry username
- Password: your registry password or access token
Provider-Specific Setup
GitHub Container Registry (GHCR)
GitHub Container Registry (GHCR)
Create a Personal Access Token:
- Go to GitHub → Settings → Developer settings → Personal access tokens
- Generate a token with
read:packagesscope - For pushing charts, also add
write:packages
- Username: your GitHub username
- Password: the Personal Access Token
Google Artifact Registry
Google Artifact Registry
Create a Service Account:
- Go to Google Cloud Console → IAM → Service Accounts
- Create a new service account
- Grant “Artifact Registry Reader” role
- Create and download a JSON key
- Username:
_json_key - Password: the entire JSON key file contents
Amazon ECR
Amazon ECR
Get an auth token:Credential values:
- Username:
AWS - Password: the token from the command above
Azure Container Registry
Azure Container Registry
Create a Service Principal:Credential values:
- Username: the
appIdfrom the output - Password: the
passwordfrom the output
Docker Hub
Docker Hub
Create an Access Token:
- Go to Docker Hub → Account Settings → Security
- Create a new Access Token with Read permissions
- Username: your Docker Hub username
- Password: the Access Token (not your password)
Harbor
Harbor
Use a robot account (recommended):
- Go to your Harbor project → Robot Accounts
- Create a new robot account with pull permissions
- Username:
robot$project+name(the robot account name) - Password: the robot account secret
JFrog Artifactory
JFrog Artifactory
Create an API Key or Access Token:
- Go to User Profile → Edit Profile
- Generate an API Key or create an Access Token
- Username: your Artifactory username
- Password: the API Key or Access Token
Using Registry Credentials
When adding a registry, select the credential to use for authentication:- Go to Charts → Repositories → Add
- Enter the registry URL
- Select the credential from the dropdown
- Click Add