[GH-ISSUE #2178] No credentials file #1105

Open
opened 2026-03-04 01:51:26 +03:00 by kerem · 0 comments
Owner

Originally created by @jgarvin on GitHub (May 31, 2023).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2178

The man page and the README both refer to ~/.aws/credentials but this file doesn't exist for me. I have run aws configure sso, and after doing so I can successfully run aws s3 ls --profile myprofile and see S3 objects. But under ~/.aws I only have cache and cli folders. I assume the sso token is in there somewhere and there is a way to tell s3fs to use it? Trying to tell s3fs to use the same profile does not work:

$ s3fs mybucket ~/s3test -o profile=myprofiler
s3fs: Could not find profile: myprofile in file: /home/xxxxxxx/.aws/credentials
Originally created by @jgarvin on GitHub (May 31, 2023). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2178 The man page and the README both refer to `~/.aws/credentials` but this file doesn't exist for me. I have run `aws configure sso`, and after doing so I can successfully run `aws s3 ls --profile myprofile` and see S3 objects. But under `~/.aws` I only have `cache` and `cli` folders. I assume the sso token is in there somewhere and there is a way to tell s3fs to use it? Trying to tell `s3fs` to use the same profile does not work: ``` $ s3fs mybucket ~/s3test -o profile=myprofiler s3fs: Could not find profile: myprofile in file: /home/xxxxxxx/.aws/credentials ```
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#1105
No description provided.