# Packages
No description provided by the author
# README
gcs-signed-url-go
This repository was created as a proof of concept for generating signed URLs for Google Cloud Storage (GCS).
Usage
- Install gcloud and follow these steps to Authenticate by using service account impersonation.
- Create a new file
env
file from the.env.example
template and add your bucket name in the.env
file. - Start the application.
make run
API Endpoints
- Generate Signed URL for Retrieving an Object
Title | Description |
---|---|
URL | /gcs |
Method | POST |
Request Body | { |
Response Body | { |
- Generate a Signed URL for Uploading an Object
Title | Description |
---|---|
URL | /gcs/uploads |
Method | GET |
Response Body | { |