We may earn an affiliate commission when you visit our partners.

Signed URLs

Save
May 1, 2024 4 minute read

Signed URLs allow controlled access to private data in Google Cloud Storage. A signed URL is a URL with an access signature attached, which you can issue for authenticated users to download or upload objects. Signed URLs expire after a specified period of time. You can use signed URLs to share objects with users who don't have access to your Google Cloud Storage bucket. To use signed URLs, you must first enable the Cloud Storage service. Once you've enabled the service, you can create a signed URL by using the generateSignedUrlV4() method in the Google Cloud Storage client library.

When to use Signed URLs

Signed URLs are useful in the following scenarios:

  • To share objects with users who don't have access to your Cloud Storage bucket. For example, you could create a signed URL to share a file with a friend or colleague who doesn't have access to your bucket. The user can then use the signed URL to download the file without having to sign in to Google Cloud Storage.
  • To allow users to upload objects to your Cloud Storage bucket without giving them access to the bucket. For example, you could create a signed URL to allow users to upload files to a specific folder in your bucket. The users can then use the signed URL to upload files without having to sign in to Google Cloud Storage.

How to create a Signed URL

Share

Help others find this page about Signed URLs: by sharing it with your friends and followers:

Reading list

We haven't picked any books for this reading list yet.
Table of Contents
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser