mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #1760] [MERGED] fix IAM role retrieval from IMDSv2 #2160
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#2160
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?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1760
Author: @nmeyerhans
Created: 9/3/2021
Status: ✅ Merged
Merged: 9/3/2021
Merged by: @gaul
Base:
master← Head:imdsv2-role-auto📝 Commits (1)
a3dd53afix IAM role retrieval from IMDSv2📊 Changes
1 file changed (+31 additions, -1 deletions)
View changed files
📝
src/curl.cpp(+31 -1)📄 Description
AWS IMDSv2 support was added in #1462, but the implementation did not
cover the addional IMDS access that occurs with the iam_role=auto
configuration. This change implements IMDSv2 support for the IMDS
call to determine the instance's role name.
See also
https://stackoverflow.com/questions/69031023/how-to-make-s3fs-use-imds-v2-when-mounting-s3-buckets-from-ec2-instance
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.