Skip to content

zarf tools update-creds

zarf tools update-creds

Updates the credentials for a deployed Zarf service

Synopsis

Updates the credentials for a deployed Zarf service. Choose the registry, git, or agent subcommand.

zarf tools update-creds COMMAND [flags]

Examples

# Autogenerate credentials for each Zarf service:
$ zarf tools update-creds registry
$ zarf tools update-creds git
$ zarf tools update-creds agent
# Set credentials for external services:
$ zarf tools update-creds registry --registry-push-username={USERNAME} --registry-push-password={PASSWORD}
$ zarf tools update-creds git --git-push-username={USERNAME} --git-push-password={PASSWORD}
# Config options can also be set with the 'init' section of a Zarf config file.

Options

-h, --help help for update-creds

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 Allow OCI registry 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