hardgsutil

Generate a signed URL valid for 1 hour for a private Cloud Storage object

command

gsutil signurl -d 1h KEY.json gs://BUCKET_NAME/PRIVATE_FILE.TXT

also accepted

gsutil signurl -dgsutil signurl -d 1h

Command breakdown

Part of the Cloud Storage CLI (gsutil) — Cloud Storage gsutil category.

gsutilsignurl-d1hKEY.jsongs://BUCKET_NAME/PRIVATE_FILE.TXT
FlagPurpose
-dBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →