Skip to content

aplulu/gcsproxy

Repository files navigation

GCSProxy

Software License

Cloud Storage proxy service for Cloud Run

Requirements

  • Google Cloud SDK
  • Go v1.19+
  • Docker

Quick Start

TODO...

Environment Variables

Name Description Default
LISTEN Listen address ""
PORT Listen port 8080
GOOGLE_CLOUD_STORAGE_BUCKET Google Cloud Storage bucket name ""
MAIN_PAGE_SUFFIX Main page suffix "index.html"
NOT_FOUND_PAGE_SUFFIX Not found page suffix ""
AUTH_TYPE Authentication type (none, basic, oidc) "none"
BASIC_AUTH_USERNAME Basic authentication username
Required only if auth type is basic
""
BASIC_AUTH_PASSWORD Basic authentication password
Required only if auth type is basic
""
BASE_URL Base URL
Required only if auth type is oidc
""
OIDC_PROVIDER OIDC Provider URL
Required only if auth type is oidc
"https://accounts.google.com"
OIDC_SCOPES OIDC scopes (comma separated)
Required only if auth type is oidc
"openid,profile,email"
OIDC_CLIENT_ID OIDC client ID
Required only if auth type is oidc
""
OIDC_CLIENT_SECRET OIDC client secret
Required only if auth type is oidc
""
OIDC_AUTHORIZATION_URL OIDC authorization URL ""
OIDC_TOKEN_URL OIDC token URL ""
OIDC_GOOGLE_HOSTED_DOMAIN OIDC Google hosted domain. Enforce authentication with Google Workspace/Cloud Identity registration domain if provided. ""
JWT_SECRET JWT secret key
Required only if auth type is oidc
""
JWT_EXPIRATION JWT expiration (second)
Required only if auth type is oidc
3600

Contact

About

Cloud Storage proxy service for Cloud Run

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages