We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2a4e7c commit d18e329Copy full SHA for d18e329
docs/changelog/119748.yaml
@@ -0,0 +1,6 @@
1
+pr: 119748
2
+summary: Issue S3 web identity token refresh call with sufficient permissions
3
+area: Snapshot/Restore
4
+type: bug
5
+issues:
6
+ - 119747
modules/repository-s3/src/main/java/org/elasticsearch/repositories/s3/S3Service.java
@@ -434,7 +434,7 @@ public void onFileCreated(Path file) {
434
public void onFileChanged(Path file) {
435
if (file.equals(webIdentityTokenFileSymlink)) {
436
LOGGER.debug("WS web identity token file [{}] changed, updating credentials", file);
437
- credentialsProvider.refresh();
+ SocketAccess.doPrivilegedVoid(credentialsProvider::refresh);
438
}
439
440
});
0 commit comments