Package | Description |
---|---|
com.ibm.cloud.objectstorage.auth.profile.internal | |
com.ibm.cloud.objectstorage.auth.profile.internal.securitytoken |
Constructor and Description |
---|
Profile(String profileName,
String sourceProfile,
AWSCredentialsProvider awsCredentials,
RoleInfo roleInfo)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RoleInfo |
RoleInfo.clone() |
RoleInfo |
RoleInfo.withExternalId(String externalId)
A unique identifier that is used by third parties when assuming roles in
their customers' accounts.
|
RoleInfo |
RoleInfo.withLongLivedCredentials(AWSCredentials longLivedCredentials)
Provides the credentials that are used to assume the role.
|
RoleInfo |
RoleInfo.withLongLivedCredentialsProvider(AWSCredentialsProvider longLivedCredentialsProvider)
Provides the credentials that are used to assume the role.
|
RoleInfo |
RoleInfo.withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role to assume.
|
RoleInfo |
RoleInfo.withRoleSessionName(String roleSessionName)
An identifier for the assumed role session.
|
RoleInfo |
RoleInfo.withWebIdentityTokenFilePath(String webIdentityTokenFilePath)
Similar to
RoleInfo.setWebIdentityTokenFilePath(String) but returns this for
method chaining. |
Modifier and Type | Method and Description |
---|---|
AWSCredentialsProvider |
ProfileCredentialsService.getAssumeRoleCredentialsProvider(RoleInfo targetRoleInfo) |
AWSCredentialsProvider |
STSProfileCredentialsServiceLoader.getAssumeRoleCredentialsProvider(RoleInfo targetRoleInfo) |
Constructor and Description |
---|
STSProfileCredentialsServiceProvider(RoleInfo roleInfo) |
Copyright © 2024. All rights reserved.