Categorygithub.com/aplulu/gcsproxy
repository
0.0.0-20230413225315-45e1d17ace32
Repository: https://github.com/aplulu/gcsproxy.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

GCSProxy

Software License

Cloud Storage proxy service for Cloud Run

Requirements

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

Quick Start

TODO...

Environment Variables

NameDescriptionDefault
LISTENListen address""
PORTListen port8080
GOOGLE_CLOUD_STORAGE_BUCKETGoogle Cloud Storage bucket name""
MAIN_PAGE_SUFFIXMain page suffix"index.html"
NOT_FOUND_PAGE_SUFFIXNot found page suffix""
AUTH_TYPEAuthentication type (none, basic, oidc)"none"
BASIC_AUTH_USERNAMEBasic authentication username
Required only if auth type is basic
""
BASIC_AUTH_PASSWORDBasic authentication password
Required only if auth type is basic
""
BASE_URLBase URL
Required only if auth type is oidc
""
OIDC_PROVIDEROIDC Provider URL
Required only if auth type is oidc
"https://accounts.google.com"
OIDC_SCOPESOIDC scopes (comma separated)
Required only if auth type is oidc
"openid,profile,email"
OIDC_CLIENT_IDOIDC client ID
Required only if auth type is oidc
""
OIDC_CLIENT_SECRETOIDC client secret
Required only if auth type is oidc
""
OIDC_AUTHORIZATION_URLOIDC authorization URL""
OIDC_TOKEN_URLOIDC token URL""
OIDC_GOOGLE_HOSTED_DOMAINOIDC Google hosted domain. Enforce authentication with Google Workspace/Cloud Identity registration domain if provided.""
JWT_SECRETJWT secret key
Required only if auth type is oidc
""
JWT_EXPIRATIONJWT expiration (second)
Required only if auth type is oidc
3600

Contact