Skip to content

zarf tools update-creds registry

zarf tools update-creds registry

Updates the credentials for the deployed Zarf registry

Synopsis

Updates the credentials for the deployed Zarf registry. Any credentials omitted from flags will be autogenerated - the registry URL only changes if specified.

zarf tools update-creds registry [flags]

Examples

# Autogenerate new registry credentials:
$ zarf tools update-creds registry
# Set credentials for an external registry:
$ zarf tools update-creds registry --registry-push-username={USERNAME} --registry-push-password={PASSWORD}
# NOTE: Not specifying a pull username/password will keep the previous pull username/password.

Options

-c, --confirm Confirm updating credentials without prompting
--force-conflicts Force Helm to take ownership of conflicting fields during Server-Side Apply operations. Use when external tools (kubectl, HPAs, etc.) have modified resources.
-h, --help help for registry
--registry-pull-password string Password for the pull-only user to access the registry
--registry-pull-username string Username for pull-only access to the registry
--registry-push-password string Password for the push-user to connect to the registry
--registry-push-username string Username to access to the registry Zarf is configured to use
--registry-url string External registry url address to use for this Zarf cluster

Options inherited from parent commands

-a, --architecture string Architecture for OCI images and Zarf packages
--cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")
--features stringToString Provide a comma-separated list of feature names to bools to enable or disable. Ex. --features "foo=true,bar=false,baz=true" (default [])
--insecure-skip-tls-verify Skip checking server's certificate for validity. This flag should only be used if you have a specific reason and accept the reduced security posture.
--log-format string Select a logging format. Defaults to 'console'. Valid options are: 'console', 'json', 'dev'. (default "console")
-l, --log-level string Log level when running Zarf. Valid options are: warn, info, debug, trace (default "info")
--no-color Disable terminal color codes in logging and stdout prints.
--plain-http Force the connections over HTTP instead of HTTPS. This flag should only be used if you have a specific reason and accept the reduced security posture.
--tmpdir string Specify the temporary directory to use for intermediate files

SEE ALSO

  • zarf tools update-creds - Updates the credentials for deployed Zarf services (deprecated; prefer the per-service subcommands)