You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/storage
Rowan Bohde c0880e7695
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
9 months ago
..
testdata feat: add support for a credentials chain for minio access (#31051) 9 months ago
helper.go Fix all possible setting error related storages and added some tests (#23911) 2 years ago
helper_test.go add path prefix to ObjectStorage.Iterator (#23332) 2 years ago
local.go Fix all possible setting error related storages and added some tests (#23911) 2 years ago
local_test.go Fix all possible setting error related storages and added some tests (#23911) 2 years ago
minio.go feat: add support for a credentials chain for minio access (#31051) 9 months ago
minio_test.go feat: add support for a credentials chain for minio access (#31051) 9 months ago
storage.go Replace `interface{}` with `any` (#25686) 2 years ago
storage_test.go Fix all possible setting error related storages and added some tests (#23911) 2 years ago