Skip to content

Instantly share code, notes, and snippets.

View borgoat's full-sized avatar
🐐

Giorgio Azzinnaro borgoat

🐐
View GitHub Profile
@pdecat
pdecat / gcs-signed-url-main.go
Created January 31, 2020 17:39
Creating a GCS Signed URL without a Service Account Key from a GCE instance or a GKE Pod using Workload Identity
package main
import (
"context"
"flag"
"log"
"net/url"
"time"
"cloud.google.com/go/compute/metadata"