cosign
Verified for current stable LTS
Cosign Command: Sign Container Store Signature
Use for sign container store signature with Cosign. Exact CLI syntax to sign container store signature using Cosign.
When to use this: Use for sign container store signature with Cosign.
Command Syntax
cosign sign --key <cosign.key> <image> cosign sign --key <cosign.key> <image> Command Breakdown
--key- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to sign container store signature using Cosign.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Cosign Command: Generate Key Pair
cosign generate-key-pair Cosign Command: Sign Container With K8s Secret cosign sign --key k8s://<namespace>/<key> <image> Cosign Command: Sign Blob Local Key Pair cosign sign-blob --key <cosign.key> <path/to/file> Cosign Command: Verify Container Public Key cosign verify --key <cosign.pub> <image> Cosign Command: Verify Dockerfile With Public Key cosign dockerfile verify -key <cosign.pub> <path/to/Dockerfile>