java.lang.Object java.lang.Enum<STSActions> com.amazonaws.auth.policy.STSActions All Implemented Interfaces: Action,Serializable,Comparable<STSActions> Deprecated. in favor ofSecurityTokenServiceActions @Deprec
它只是使用匿名身份验证(https://github.com/aws/aws-sdk-java/blob/1.11.792/aws-java-sdk-sts/s...
import software.amazon.awssdk.services.sts.model.Credentials; import java.time.Instant; import java.time.ZoneId; import java.time.format.DateTimeFormatter; import java.time.format.FormatStyle; import java.util.Locale; /** * To make this code example work, create a Role that you want to assum...
1. aws-java-sdk-sts: 提供了 AWS Security Token Service (STS) 的功能,用于生成和管理临时 AWS 凭证。这是与 AWS 服务安全交互的基础。 2. aws-java-sdk-core: 通用 SDK,包含了客户端配置、认证、请求处理等功能,是其他 AWS SDK 的基石。 3. aws-java-sdk-s3: 用于与 Amazon S3 服务集成,处理文件...
The official AWS SDK for Java 1.x (In Maintenance Mode, End-of-Life on 12/31/2025). The AWS SDK for Java 2.x is available here: https://github.com/aws/aws-sdk-java-v2/ - aws-sdk-java/aws-java-sdk-sts/src/main/java at master · aws/aws-sdk-java
jenkins-plugins-aws-java-sdk2-sts安装包是阿里云官方提供的开源镜像免费下载服务,每天下载量过亿,阿里巴巴开源镜像站为包含jenkins-plugins-aws-java-sdk2-sts安装包的几百个操作系统镜像和依赖包镜像进行免费CDN加速,更新频率高、稳定安全。
如何配置使用roleSessionName和roleArn for AWS SDK for Java2.x的STSAssumeRoleSessionCredentialsProvider?
See STSAssumeRoleSessionCredentialsProvider.Builder.withAsyncRefreshExecutor(java.util.concurrent.ExecutorService). Note that the custom executor service must be shut down when it is ready to be disposed. The SDK will not close it when the credential provider is closed....
java.lang.Object com.amazonaws.auth.STSSessionCredentials All Implemented Interfaces: AWSCredentials,AWSRefreshableSessionCredentials,AWSSessionCredentials Deprecated. @Deprecatedpublic classSTSSessionCredentialsextendsObjectimplementsAWSRefreshableSessionCredentials ...
Sets a preconfigured STS client to use for the credentials provider. See AWSSecurityTokenServiceClientBuilder for an easy way to configure and create an STS client. Parameters: sts - Custom STS client to use. Returns: This object for chained calls. build public STSAssu...