To allow the use of private Docker registries, Cloudera Data Engineering
supports the creation and management of credentials. Credentials are secure objects used to store
access keys (such as passwords, keys, or tokens) that are required for various workflows within
Cloudera Data Engineering. These workflows can involve accessing resources, and
repositories. These credentials are stored securely in the Kubernetes cluster as secrets and
cannot be accessed by end users directly. Credentials are attached to job runs automatically by
the Cloudera Data Engineering backend.
-
To create a new credential:
cde credential create --name <cred_name> --type docker-basic --docker-server <registry_URL_or_hostname> --docker-username <docker_user>
-
Enter the Docker registry password when you are prompted.
An optional --description field allows you to annotate the credential
with a human readable description.
-
Run
cde credential list to verify that the credential was created:
-
If you want to update a credential, use the
cde credential update
command.
This command allows you to update the secret content, the credential description, or
both.
cde credential update --name <cred_name> [--docker-server <registry_URL_or_hostname> --docker-username <docker_user>] [--description "<desc>"]