public interface STSApi
STSAsyncApi
,
Modifier and Type | Method and Description |
---|---|
UserAndSessionCredentials |
assumeRole(String roleArn,
String sessionName)
Assumes a role for a specified session.
|
UserAndSessionCredentials |
assumeRole(String roleArn,
String sessionName,
AssumeRoleOptions options)
like
assumeRole(String, String) , except you can modify the
timeout and other parameters. |
UserAndSessionCredentials |
createFederatedUser(String userName)
Returns a set of temporary credentials for a federated user with the user
name specified.
|
UserAndSessionCredentials |
createFederatedUser(String userName,
FederatedUserOptions options)
like
createFederatedUser(String) , except you can modify the
timeout and other parameters. |
SessionCredentials |
createTemporaryCredentials()
Returns a set of temporary credentials for an AWS account or IAM user,
with a default timeout
|
SessionCredentials |
createTemporaryCredentials(SessionCredentialsOptions options)
like
createTemporaryCredentials() , except you can modify the
timeout and other parameters. |
SessionCredentials createTemporaryCredentials()
SessionCredentials createTemporaryCredentials(SessionCredentialsOptions options)
createTemporaryCredentials()
, except you can modify the
timeout and other parameters.UserAndSessionCredentials assumeRole(String roleArn, String sessionName)
sessionName
- An identifier for the assumed role session, included as part of
User.getId()
.roleArn
- The Amazon Resource Name (ARN) of the role that the caller is
assuming.UserAndSessionCredentials assumeRole(String roleArn, String sessionName, AssumeRoleOptions options)
assumeRole(String, String)
, except you can modify the
timeout and other parameters.UserAndSessionCredentials createFederatedUser(String userName)
userName
- The name of the federated user, included as part of
User.getId()
.UserAndSessionCredentials createFederatedUser(String userName, FederatedUserOptions options)
createFederatedUser(String)
, except you can modify the
timeout and other parameters.Copyright © 2009-2013 jclouds. All Rights Reserved.