Firebase Admin icon

Firebase Admin

Interact with Firebase Firestore, Auth, and Storage using Firebase Admin SDK

Storage → Get Signed URL

AI-generated

Summary

Generate a signed URL for a specific file in a Firebase Storage bucket that grants temporary access with defined permissions.

Inputs

  • Project Name or ID — Select the Firebase project by name or ID from the list or specify via expression.
  • Bucket Name or ID — Select the storage bucket by name or ID from the list or specify via expression. Leave empty to use the default bucket.
  • File Path (required) — Specify the path to the target file within the storage bucket.
  • Options — Configure permissions for the signed URL's action (read, write, delete, resumable) and set its expiration time in minutes.

Output shape

a single object containing the signed URL string

The returned object includes the signed URL valid for the specified duration with the specified action permissions.

Examples

Example 1: Generate a read-access signed URL for 'folder/file.jpg' valid for 60 minutes in the default bucket of a project.

Set 'Project Name or ID', optionally select or leave 'Bucket Name' empty, specify 'folder/file.jpg' as File Path, and set 'Action' to 'read', 'Expires In' to 60.

Links

Discussion