Skip to content

Add support for file based credentials for minio connection

What does this MR do?

Adds support to read file based credentials when loading the minio client.

Why was this MR needed?

We are running Gitlab runners on Kubernetes and are using STS credentials that end up on a file mount.

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

I'm not super familiar with the way the fallback works, but it appears that if file based credentials can't be resolved then it will fallback to IAM as it did before.

  • Documentation created/updated
  • Added tests for this feature/bug
  • In case of conflicts with master - branch was rebased

What are the relevant issue numbers?

Edited by 🤖 GitLab Bot 🤖

Merge request reports