mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
endpoint creds (#1291)
* endpoint creds * gofmt * Add credential chain * error handling * Fix things * add docs * f * asd * fix
This commit is contained in:
@@ -8,4 +8,5 @@ type S3Config struct {
|
||||
Token string `envconfig:"AWS_SESSION_TOKEN"`
|
||||
Bucket string `validate:"required" envconfig:"ATHENS_S3_BUCKET_NAME"`
|
||||
UseDefaultConfiguration bool `envconfig:"AWS_USE_DEFAULT_CONFIGURATION"`
|
||||
CredentialsEndpoint string `envconfig:"AWS_CREDENTIALS_ENDPOINT"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user