Skip to content

zarf tools update-creds git

zarf tools update-creds git

Updates the credentials for the deployed Zarf git server

Synopsis

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

zarf tools update-creds git [flags]

Examples

# Autogenerate new git server credentials:
$ zarf tools update-creds git
# Set credentials for an external git server:
$ zarf tools update-creds git --git-push-username={USERNAME} --git-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
--git-pull-password string Password for the pull-only user to access the git server
--git-pull-username string Username for pull-only access to the git server
--git-push-password string Password for the push-user to access the git server
--git-push-username string Username to access to the git server Zarf is configured to use. User must be able to create repositories via 'git push'
--git-url string External git server url to use for this Zarf cluster
-h, --help help for git

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)