mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[PR #1421] [MERGED] enforce exact key match in IBM IAM response #1973
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#1973
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/1421
Author: @nkkashyap
Created: 9/25/2020
Status: ✅ Merged
Merged: 9/25/2020
Merged by: @gaul
Base:
master← Head:ibmiam📝 Commits (1)
d58acb1enforce exact key match in IBM IAM response📊 Changes
2 files changed (+5 additions, -2 deletions)
View changed files
📝
src/curl.cpp(+3 -0)📝
src/s3fs.cpp(+2 -2)📄 Description
Relevant Issue (if applicable)
If there are Issues related to this PullRequest, please list it.
Details
Please describe the details of PullRequest.
The IBM IAM token API wants to introduced additional field
refresh_token_expirationfor token expiryThe
S3fsCurl::ParseIAMCredentialResponse()is not able to differentiate betweenexpirationandrefresh_token_expirationand picking the last key value in the order, that isrefresh_token_expiration.Because of this the token is not getting refreshed by s3fs and application accessing bucket mount are hitting with
Error: EPERM: operation not permittedThe code change enforce the exact key match in case of IBM IAM response.
I have tested and verified the code in IBM IKS Cluster
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.