clean

Remove attestations or signatures using cosign

Synopsis

Run cosign remove on an image or signature object to clean attestations/signatures.

This command wraps the cosign CLI. If registry credentials are provided they will be used for authentication. The command converts your configured token into a key and uses it where appropriate. Use --type to limit the cleanup to signatures, attestations, SBOMs, or all.

Examples

Options

Options inherited from parent commands

Have feedback? We want to hear from you!

Fields marked with * are required