mirror of
https://github.com/gomods/athens
synced 2026-02-03 08:40:31 +00:00
storage/s3: add custom endpoint url support (#1467)
This commit is contained in:
committed by
Aaron Schlesinger
parent
22a9dfe763
commit
5b194688a0
+7
-1
@@ -361,7 +361,6 @@ SingleFlightType = "memory"
|
||||
Insecure = false
|
||||
|
||||
[Storage.S3]
|
||||
|
||||
### The authentication model is as below for S3 in the following order
|
||||
### If AWS_CREDENTIALS_ENDPOINT is specified and it returns valid results, then it is used
|
||||
### If config variables are specified and they are valid, then they return valid results, then it is used
|
||||
@@ -415,6 +414,13 @@ SingleFlightType = "memory"
|
||||
# Ref: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v2.html
|
||||
AwsContainerCredentialsRelativeURI = ""
|
||||
|
||||
# An optional endpoint URL (hostname only or fully qualified URI)
|
||||
# that overrides the default generated endpoint for S3 storage client.
|
||||
#
|
||||
# You must still provide a `Region` value when specifying an endpoint.
|
||||
# Env override: AWS_ENDPOINT
|
||||
Endpoint = ""
|
||||
|
||||
[Storage.AzureBlob]
|
||||
# Storage Account name for Azure Blob
|
||||
# Env override: ATHENS_AZURE_ACCOUNT_NAME
|
||||
|
||||
Reference in New Issue
Block a user