Code Monkey home page Code Monkey logo

gcsproxy's Introduction

gcsproxy

HTTP Proxy for Goolge Cloud Storage.

Run on Google Cloud

Motivation

Cloud Load Balancing can use Identity Aware Proxy (IAP) to restrict access. IAPs can be applied to the Backend Service, but not to the Backend Bucket. Therefore, access to Google Cloud Storage (GCS) cannot be restricted using IAP.

To apply IAP to Google Cloud Storage, you must access Google Cloud Storage (GCS) via the Backend Service. Therefore, a Proxy to GCS acting as a Backend Service is required to restrict access for GCS.

Usage

Deploy the built docker image ghcr.io/karupanerura/gcsproxy:v0.0.3 to Cloud Run or any other services of Google Cloud Platform.

Environment Variables

  • GCS_PROXY_BUCKET: GCS bucket name. (required)
  • GCS_PROXY_PATH_PREFIX: URL path prefix. use it as GCS object key from URL path exclude the path prefix. (default: "/")
  • GCS_PROXY_INDEX_FILE: Index file name. (e.g. "index.html")
  • GCS_PROXY_NOT_FOUND_PATH: Path for not found error. (e.g. "/404.html")

gcsproxy's People

Contributors

karupanerura avatar p1ass avatar

Stargazers

Akihiro Tokoro avatar Naoto Ikeno avatar Keisuke Nakayama avatar  avatar Taisuke Fujita avatar MISAWA Yoshihiro avatar Hokuto TAKEMIYA avatar mactkg avatar serinuntius avatar

Watchers

 avatar James Cloos avatar

Forkers

pokutuna p1ass

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.