Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 970 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 970 Bytes

docker-publish-to-dh

Google Cloud Storage Proxy

Allows for access to Google Cloud storage with credentials automatically proxied into the request.

Usage

  • Currently uses Instance Metadata permissions for access to Google Cloud Storage
    • This means it inherits the permissions of the Instance when it was created (scopes)
    • Requires to be run in Google Cloud (or have access to the Google Instance Metadata API)
  • The proxy will have access to any buckets/objects that the account has permission for (if it uses storage-full scope, then everything)
docker run -it --rm -p 80:80 swaglive/google-cloud-storage:0.1.0

curl http://127.0.0.1/my-bucket/hello/world.mp4
-> 200 OK

REF

TODO