mirror of
https://github.com/gomods/athens
synced 2026-02-03 08:40:31 +00:00
storage/gcp: allow json key to be used for GCS access (#1088)
This commit is contained in:
committed by
Aaron Schlesinger
parent
12ce2a6499
commit
a27ef13b71
@@ -182,6 +182,16 @@ SingleFlightType = "memory"
|
||||
# Env override: ATHENS_STORAGE_GCP_BUCKET
|
||||
Bucket = "MY_GCP_BUCKET"
|
||||
|
||||
# JSONKey allows Athens to be run outside of GCP
|
||||
# but still be able to access GCS. If you are
|
||||
# running Athens inside GCP, you will most
|
||||
# likely not need this as GCP figures out
|
||||
# internal authentication between products for you.
|
||||
# Pro tip: if you are pasting this as a JSON inside a string,
|
||||
# make sure you escape "\n" by making it "\\n".
|
||||
# Env override: ATHENS_STORAGE_GCP_JSON_KEY
|
||||
JSONKey = "SERVICE_ACCOUNT_KEY"
|
||||
|
||||
[Storage.Minio]
|
||||
# Endpoint for Minio storage
|
||||
# Env override: ATHENS_MINIO_ENDPOINT
|
||||
|
||||
Reference in New Issue
Block a user