Closed ajschmidt8 closed 7 months ago
cc: @Xuanwo in case this option needs to be exposed in opendal
As mentioned in https://github.com/apache/opendal/issues/4389#issuecomment-2017579898, this should already be simple. Let me mark this as good first issue
and help wanted
. Feel free to take this if you want to implement it too.
@Xuanwo, thanks. PR here: https://github.com/mozilla/sccache/pull/2137.
Feature Request
As defined by MDN (src):
I'd like to request that
sccache
set a user-agent header for requests to AWS/S3. The user-agent header should include thesccache
version.Use Case
AWS supports writing IAM policies that block access to resources based on the user-agent header: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-useragent.
I'd like to write a policy that denies access to an S3 bucket for versions of
sccache
that are affected by #2038.