zarf package inspect digest
zarf package inspect digest
Outputs the SHA256 digest of the package’s OCI manifest
Synopsis
Outputs the SHA256 digest of the package’s OCI manifest. For OCI sources the digest is resolved directly from the registry. For local tarballs the manifest is computed deterministically from the package contents.
zarf package inspect digest [ PACKAGE_SOURCE ] [flags]Examples
# Get the digest of a local package tarball$ zarf package inspect digest zarf-package-my-app-amd64-1.0.0.tar.zst
# Get the digest of a package in an OCI registry (requires oci:// scheme; resolved directly from the registry)$ zarf package inspect digest oci://ghcr.io/my-org/my-package:1.0.0
# Get the stored digest of a package already deployed to a cluster$ zarf package inspect digest my-packageOptions
-h, --help help for digest -n, --namespace string [Alpha] Override the namespace for package inspection. Applicable only to packages deployed using the namespace flag.Options inherited from parent commands
-a, --architecture string Architecture for OCI images and Zarf packages --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 --zarf-cache string Specify the location of the Zarf cache directory (default "~/.zarf-cache")SEE ALSO
- zarf package inspect - Commands for gathering information from a built package