Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fastlane Match 'Access Denied' with Amazon S3

I am trying to setup match, fastlane's tool for code signing on iOS apps. Out of the three options, I chose to store my certificates in Amazon S3, but my authorization is either not working or I have to change my permissions for the bucket on S3. Does anyone have an idea of the exact permissions I need to set? Or if this is the right way to use the environment variables for S3? I am getting this error:

Aws::S3::Errors::AccessDenied: [!] Access Denied

This is what my match file looks like:

s3_bucket("my-bucket")
s3_region(ENV["AWS_DEFAULT_REGION"])
s3_access_key(ENV["AWS_ACCESS_KEY_ID"])
s3_secret_access_key(ENV["AWS_SECRET_ACCESS_KEY"])
storage_mode("s3")

type("appstore")
app_identifier(["my.app.identifier"])
username("[email protected]")

Thanks in advance.

like image 959
Arturo Reyes Avatar asked Oct 14 '25 04:10

Arturo Reyes


1 Answers

By reading this article, looks like your IAM should have the s3:PutBucketPolicy permission policy.

like image 195
Roger Oba Avatar answered Oct 19 '25 12:10

Roger Oba



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!