|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface STSApi
Provides access to Amazon STS via the Query API
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface java.io.Closeable |
|---|
close |
| Method Detail |
|---|
@Named(value="GetSessionToken") SessionCredentials createTemporaryCredentials()
@Named(value="GetSessionToken") SessionCredentials createTemporaryCredentials(SessionCredentialsOptions options)
createTemporaryCredentials(), except you can modify the
timeout and other parameters.
@Named(value="AssumeRole")
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.
@Named(value="AssumeRole")
UserAndSessionCredentials assumeRole(String roleArn,
String sessionName,
AssumeRoleOptions options)
assumeRole(String, String), except you can modify the
timeout and other parameters.
@Named(value="GetFederationToken") UserAndSessionCredentials createFederatedUser(String userName)
userName - The name of the federated user, included as part of
User#getId.
@Named(value="GetFederationToken")
UserAndSessionCredentials createFederatedUser(String userName,
FederatedUserOptions options)
createFederatedUser(String), except you can modify the
timeout and other parameters.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||