cosign clean

Remove all signatures from an image

Options

NameDescription
--output-file <output-file>Log output to a file
--timeout, -t <timeout>Timeout for commands
--verbose, -dLog debug output
--allow-insecure-registryWhether to allow insecure connections to registries. Don't use this for anything but testing
--attachment-tag-prefix <attachment-tag-prefix>Optional custom prefix to use for attached image tags. Attachment images are tagged as: `[AttachmentTagPrefix]sha256-[TargetImageDigest].[AttachmentName]`
--force, -fDo not prompt for confirmation
--k8s-keychainWhether to use the kubernetes keychain instead of the default keychain (supports workload identity)
--type <type>A type of clean: <signature|attestation|sbom|all> (default: all)
--help, -hHelp for clean