File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/repository-s3/src/main/java/org/elasticsearch/repositories/s3 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -463,11 +463,11 @@ public CompletableFuture<? extends AwsCredentialsIdentity> resolveIdentity() {
463463 }
464464
465465 /**
466- * Customizes {@link StsAssumeRoleWithWebIdentityCredentialsProvider }.
466+ * Customizes {@link StsWebIdentityTokenFileCredentialsProvider }.
467467 *
468468 * <ul>
469469 * <li>Reads the location of the web identity token not from AWS_WEB_IDENTITY_TOKEN_FILE, but from a symlink
470- * in the plugin directory, so we don't need to create a hardcoded read file permission for the plugin.</li>
470+ * in the S3 plugin directory, so we don't need to create a hardcoded read file permission for the plugin.</li>
471471 * <li>Supports customization of the STS (Security Token Service) endpoint via a system property, so we can
472472 * test it against a test fixture.</li>
473473 * <li>Supports gracefully shutting down the provider and the STS client.</li>
@@ -569,7 +569,7 @@ public String toString() {
569569 }
570570
571571 /**
572- * Sets up a {@link FileWatcher} that runs {@link StsAssumeRoleWithWebIdentityCredentialsProvider #resolveCredentials()} whenever the
572+ * Sets up a {@link FileWatcher} that runs {@link StsWebIdentityTokenFileCredentialsProvider #resolveCredentials()} whenever the
573573 * file to which {@code webIdentityTokenFileSymlink} refers gets updated.
574574 */
575575 private void setupFileWatcherToRefreshCredentials (Path webIdentityTokenFileSymlink , ResourceWatcherService resourceWatcherService ) {
You can’t perform that action at this time.
0 commit comments