[GH-ISSUE #419] "s3fs: could not determine how to establish security credentials" when using iam_role #224

Closed
opened 2026-03-04 01:43:24 +03:00 by kerem · 2 comments
Owner

Originally created by @nturner on GitHub (May 20, 2016).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/419

I have an /etc/fstab entry like the following:

s3fs#mybucket /srv/object-store fuse _netdev,dbglevel=info,iam_role 0 2

When I try to mount /srv/object-store, s3fs fails with "s3fs: could not determine how to establish security credentials."

The log in /var/log/messages shows only:

May 20 16:06:23 ip-172-31-20-21 s3fs[2015]: s3fs.cpp:set_s3fs_log_level(280): change debug level from [CRT] to [INF]
May 20 16:06:23 ip-172-31-20-21 s3fs[2015]: s3fs.cpp:set_moutpoint_attribute(4298): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40755)
May 20 16:06:23 ip-172-31-20-21 s3fs[2015]: s3fs: could not determine how to establish security credentials.

Originally created by @nturner on GitHub (May 20, 2016). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/419 I have an /etc/fstab entry like the following: `s3fs#mybucket /srv/object-store fuse _netdev,dbglevel=info,iam_role 0 2` When I try to mount /srv/object-store, s3fs fails with "s3fs: could not determine how to establish security credentials." The log in /var/log/messages shows only: `May 20 16:06:23 ip-172-31-20-21 s3fs[2015]: s3fs.cpp:set_s3fs_log_level(280): change debug level from [CRT] to [INF]` `May 20 16:06:23 ip-172-31-20-21 s3fs[2015]: s3fs.cpp:set_moutpoint_attribute(4298): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40755)` `May 20 16:06:23 ip-172-31-20-21 s3fs[2015]: s3fs: could not determine how to establish security credentials. `
kerem closed this issue 2026-03-04 01:43:24 +03:00
Author
Owner

@nturner commented on GitHub (May 20, 2016):

The patch linked above may need some work.

<!-- gh-comment-id:220684816 --> @nturner commented on GitHub (May 20, 2016): The patch linked above may need some work.
Author
Owner

@ggtakec commented on GitHub (May 29, 2016):

@nturner Thanks for your help.
#420 and #422 is merged.

<!-- gh-comment-id:222335950 --> @ggtakec commented on GitHub (May 29, 2016): @nturner Thanks for your help. #420 and #422 is merged.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#224
No description provided.