Skip to content

Instantly share code, notes, and snippets.

@developer-guy
Created March 22, 2022 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save developer-guy/6ae836417d2438bac1149eaef789d94f to your computer and use it in GitHub Desktop.
Save developer-guy/6ae836417d2438bac1149eaef789d94f to your computer and use it in GitHub Desktop.
Cosign sign with GCP KMS
$ cosign sign --key gcpkms://projects/$PROJECT_ID/locations/global/keyRings/test/cryptoKeys/cosign/versions/1 gcr.io/$PROJECT_ID/alpine:3.15.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment