bazel-remote icon indicating copy to clipboard operation
bazel-remote copied to clipboard

Support aws config files and/or credential_process for S3

Open skeggse opened this issue 9 months ago • 2 comments

For particularly complicated authentication flows, such as AWS IAM Roles Anywhere, it's very helpful to be able to use credential_process credentials. Typically this would be configured via an AWS config file, but that's always seemed to me to be an overcomplication, and I'd be perfectly happy with an explicit credential process auth_method.

While the gimme-aws-creds recommendation would work for a brief time, federated AWS credentials tend to expire pretty quickly. For roles that are chained, the maximum session length is only an hour, non-extendable!

credential_process makes lots of flows possible that aren't possible otherwise, and only requires implementing a simple and well-established contract with the process that gets run. I'd love to see it in bazel-remote.

skeggse avatar May 28 '25 23:05 skeggse

Related: https://github.com/buchgr/bazel-remote/issues/761#issuecomment-2707506830

skeggse avatar Jun 13 '25 19:06 skeggse

Hi, I don't have an AWS account to work on this, but PRs are welcome.

mostynb avatar Jun 23 '25 10:06 mostynb