Use IAM role to access the S3 bucket

41 views
Skip to first unread message

Bhavna Gehlot

unread,
Feb 24, 2025, 12:27:32 PM2/24/25
to Fedora Tech
Is it possible to use an IAM role that has access to the S3 bucket instead of using AWS credentials in the java args? 

 I am trying to accomplish this, but fcrepo is not using the role and is reverting back to using the local ocfl-root under the fcrepo-home/data directory.

Thanks
Bhavna

Jared Whiklo

unread,
Feb 25, 2025, 10:11:48 AM2/25/25
to Fedora Tech
I don't believe that is currently possible, it would require a change to the AWS client configuration I think.

cheers,
jared

Bhavna Gehlot

unread,
Mar 3, 2025, 3:11:49 PM3/3/25
to Fedora Tech
Our Operations team member added the sts-2.17.50.jar to the WEB-INF/lib folder and rebuilt the image and made it work.

Dan Field

unread,
Mar 4, 2025, 5:45:14 AM3/4/25
to Fedora Tech
That is an interesting work-around. Thank you for sharing that with us. We will investigate how we can incorporate that into the repository in future
Reply all
Reply to author
Forward
0 new messages