mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #776] Aws IAM role not working. #447
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#447
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @guruprasad85 on GitHub (Jun 12, 2018).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/776
i have configured IAM role. awscli working fine but while i am using s3fs for working. kindly help me to share the command or configuration change.
@slaughtr commented on GitHub (Jun 12, 2018):
Per another issue, you need to use a couple of arguments to make roles work:
s3fs -o iam_role="MY_ROLE" -o url="https://s3-eu-central-1.amazonaws.com" -o endpoint=eu-central-1 -o dbglevel=info -o curldbg -o allow_other -o use_cache=/tmp DEST_BUCKET /var/ftp/hereOf import here are the
iam_rolebit and usingurl=to point at the bucket.@guruprasad85 commented on GitHub (Jun 13, 2018):
i have run following cmd and i found error: s3fs -o iam_role="Ec2_to_S3_full_permission" -o url="https://s3.amazonaws.com/s3fs-test-13/" -o endpoint=eu-east-1 -o dbglevel=info -o curldbg -o allow_other -o use_cache=/tmp DEST_BUCKET /home/ubuntu/test
Broadcast message from systemd-journald@ip-172-31-26-83 (Wed 2018-06-13 06:15:35 UTC):
s3fs[9647]: s3fs: BUCKET DEST_BUCKET, name not compatible with virtual-hosted style.
one more command : s3fs -o iam_role="Ec2_to_S3_full_permission" -o url="https://s3.amazonaws.com/s3fs-test-13/" -o endpoint=eu-east-1 -o dbglevel=info -o curldbg -o allow_other -o use_cache=/tmp /home/ubuntu/test
Broadcast message from systemd-journald@ip-172-31-26-83 (Wed 2018-06-13 06:16:05 UTC):
s3fs[9648]: s3fs: BUCKET /home/ubuntu/test -- bucket name contains an illegal character.