mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 19:54:25 +00:00
c0880e7695
We wanted to be able to use the IAM role provided by the EC2 instance metadata in order to access S3 via the Minio configuration. To do this, a new credentials chain is added that will check the following locations for credentials when an access key is not provided. In priority order, they are: 1. MINIO_ prefixed environment variables 2. AWS_ prefixed environment variables 3. a minio credentials file 4. an aws credentials file 5. EC2 instance metadata
4 lines
108 B
Plaintext
4 lines
108 B
Plaintext
[default]
|
|
aws_access_key_id=ExampleAccessKeyIDAWSFile
|
|
aws_secret_access_key=ExampleSecretAccessKeyIDAWSFile
|