Skip to content

Commit

Permalink
EPMRPP-90461 || Support AWS IAM Role to Grant Access to AWS Resources (
Browse files Browse the repository at this point in the history
  • Loading branch information
APiankouski authored Feb 4, 2025
1 parent e084aab commit 58266aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private void refreshCredentials() {
.sessionToken(awsCredentials.sessionToken())
.build();

expirationTime = Instant.now().plusSeconds(3600);
expirationTime = awsCredentials.expirationTime().orElseGet(() -> Instant.now().plusSeconds(3600));
}
}

Expand Down

0 comments on commit 58266aa

Please sign in to comment.