Uses of Class
software.amazon.awssdk.services.sts.auth.StsWebIdentityTokenFileCredentialsProvider.Builder
Packages that use StsWebIdentityTokenFileCredentialsProvider.Builder
-
Uses of StsWebIdentityTokenFileCredentialsProvider.Builder in software.amazon.awssdk.services.sts.auth
Methods in software.amazon.awssdk.services.sts.auth that return StsWebIdentityTokenFileCredentialsProvider.BuilderModifier and TypeMethodDescriptionStsWebIdentityTokenFileCredentialsProvider.builder()StsWebIdentityTokenFileCredentialsProvider.Builder.refreshRequest(Consumer<AssumeRoleWithWebIdentityRequest.Builder> assumeRoleWithWebIdentityRequest) Similar torefreshRequest(AssumeRoleWithWebIdentityRequest), but takes a lambda to configure a newAssumeRoleWithWebIdentityRequest.Builder.StsWebIdentityTokenFileCredentialsProvider.Builder.refreshRequest(Supplier<AssumeRoleWithWebIdentityRequest> assumeRoleWithWebIdentityRequestSupplier) Similar torefreshRequest(AssumeRoleWithWebIdentityRequest), but takes aSupplierto supply the request to STS.StsWebIdentityTokenFileCredentialsProvider.Builder.refreshRequest(AssumeRoleWithWebIdentityRequest assumeRoleWithWebIdentityRequest) Configure theAssumeRoleWithWebIdentityRequestthat should be periodically sent to the STS service to update the session token when it gets close to expiring.The Amazon Resource Name (ARN) of the IAM role that is associated with the Sts.StsWebIdentityTokenFileCredentialsProvider.Builder.roleSessionName(String roleSessionName) Sets the role session name that should be used by this credentials provider.The CustomStsClientthat will be used to fetch AWS service credentials.StsWebIdentityTokenFileCredentialsProvider.toBuilder()StsWebIdentityTokenFileCredentialsProvider.Builder.webIdentityTokenFile(Path webIdentityTokenFile) Sets the absolute path to the web identity token file that should be used by this credentials provider.