mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1708] AWSACCESSKEYID vs AWS_ACCESS_KEY_ID #881
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#881
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 @CarstenGrohmann on GitHub (Jun 30, 2021).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1708
The environment variables for an access key, secret key, and session token differ between s3fs and aws cli.
In s3fs, these variables are in uppercase but without underscore, and aws cli uses the same naming but with underscore. Is this intentional?
github.com/s3fs-fuse/s3fs-fuse@487df27008/src/s3fs.cpp (L3992-L3994)AWS reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html#envvars-set
If this is not intended, then I can contribute a PR.
@gaul commented on GitHub (Jul 1, 2021):
s3fs (2007) predates the AWS CLI (2012) so it was not our intention but their choice (although I prefer their choice). AWS CLI is likely more popular and thus s3fs should align with their choices to reduce user friction. s3fs should accept both variants so it retains backwards compatibility for our users. We can change the s3fs documentation to only mention the AWS style though.
@CarstenGrohmann commented on GitHub (Jul 1, 2021):
ok, I'll create a PR