diff options
author | Rowan Bohde <rowan.bohde@gmail.com> | 2024-05-27 07:56:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-27 20:56:04 +0800 |
commit | c0880e7695346997c6a93f05cd01634cb3ad03ee (patch) | |
tree | 3cb3a12dfbc25696f470ecdf00006d75cad20172 /flake.lock | |
parent | 98751108b11dc748cc99230ca0fc1acfdf2c8929 (diff) | |
download | gitea-c0880e7695346997c6a93f05cd01634cb3ad03ee.tar.gz gitea-c0880e7695346997c6a93f05cd01634cb3ad03ee.zip |
feat: add support for a credentials chain for minio access (#31051)
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
Diffstat (limited to 'flake.lock')
0 files changed, 0 insertions, 0 deletions