mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #720] Environment Variables for Creds #411
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#411
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 @jashaffe on GitHub (Feb 20, 2018).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/720
Additional Information
The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all.
Version of s3fs being used (s3fs --version)
_example: 1.83
Version of fuse being used (pkg-config --modversion fuse)
_example: 2.9.4
System information (uname -r)
_command result: 4.9.76-3.78.amzn1.x86_64
Distro (cat /etc/issue)
_command result: Amazon Linux AMI release 2017.09
s3fs command line used (if applicable)
/etc/fstab entry (if applicable):
s3fs syslog messages (grep s3fs /var/log/syslog, or s3fs outputs)
if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages
Details about issue
The instructions state that: setting the AWSACCESSKEYID and AWSSECRETACCESSKEY environment variables is an acceptable way of passing creds. When I do a man s3fs this doesnt show possible. I've noticed that older versions accept creds in arguments. Is the only way to write the API keys to file? I'd rather not write them disk for security.
Thanks!
@leblancexplores commented on GitHub (May 16, 2018):
@jashaffe a quick look at the .cpp it seems like it's still a thing? https://github.com/s3fs-fuse/s3fs-fuse/blob/master/src/s3fs.cpp#L4136
@gaul commented on GitHub (Feb 2, 2019):
@jashaffe I confirmed that environment variables work. Could you share how you invoked s3fs?
@gaul commented on GitHub (Mar 17, 2019):
Works for me.