Keyless sign via OIDC cosign
Keyless signing with Fulcio/Rekor via OIDC identity; modern: default in cosign v2
COSIGN_EXPERIMENTAL=1 cosign sign <host>/<name>@sha256:<id>
more cosign
all 5 commands →
Verify keyless signature
cosign verify --certificate-identity=<id> --certificate-oidc-issuer=<host> <host>/<name> | jq .
Attest CycloneDX SBOM
cosign attest --key cosign.key --predicate sbom.json --type cyclonedx <host>/<name>@sha256:<id>
Verify attestation by type
cosign verify-attestation --key cosign.pub --type cyclonedx <host>/<name> | jq -r '.payload' | base64 -d | jq .
Sign image by digest
cosign sign --key cosign.key <host>/<name>@sha256:<id>