Using EC2 Instance Profile rather than Access Key

Hello! I noticed there have been a few others requesting the ability to use the EC2 Instance Profile to grant access to the S3 bucket for backup files, rather than supplying an AWS Access Key and Secret Access Key in the Settings->BackupStatus page.

There was a Discussion Post Here: https ://discourse.mailinabox.email/t/using-an-instance-profile-with-s3-backups/10912 …
and I found a GitHub Issue Here: https ://github.com/mail-in-a-box/mailinabox/issues/994 .

I patched my own miab instance and am using it successfully. I then created a pull request with the patch here https ://github.com/mail-in-a-box/mailinabox/pull/2464 .

I’m open to feedback or procedural correction if I’m not doing this right! Thanks for reading!

(p.s. I couldn’t include the links in this post because the computer told me that new humans are inherently untrustworthy. So I added a space in the URLs above, after the https part – because I’m smarter than the computer).

-rb

1 Like