hardgcloud

Sign a binary blob using a service account to produce a cryptographic signature

command

gcloud iam service-accounts sign-blob --iam-account SA_EMAIL INPUT_FILE OUTPUT_FILE

also accepted

gcloud iam service-accounts sign-blob

Command breakdown

Part of the Google Cloud CLI (gcloud) — IAM & Service Accounts category.

gcloudiamservice-accountssign-blob--iam-accountSA_EMAILINPUT_FILEOUTPUT_FILE
FlagPurpose
--iam-accountBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →