Package software.amazon.awssdk.services.sts
Amazon Web Services provides Security Token Service (STS) as a web service that enables you to request temporary, limited-privilege credentials for users. This guide describes the STS API. For more information, see Temporary Security Credentials in the IAM User Guide.
As an alternative to using the API, you can use one of the Amazon Web Services SDKs, which consist of libraries and sample code for various programming languages and platforms such as Java, Ruby, .NET, iOS, Android, and others. The SDKs provide a convenient way to create programmatic access to STS. For example, the SDKs can cryptographically sign requests, manage errors, and retry requests automatically. For information about the Amazon Web Services SDKs, see Tools to Build on Amazon Web Services.
For information about setting up signatures and authorization through the API, see Signing Amazon Web Services API Requests in the Amazon Web Services General Reference. For general information about the Query API, see Making Query Requests in the IAM User Guide. For information about using security tokens with other Amazon Web Services products, see Amazon Web Services Services That Work with IAM in the IAM User Guide.
For information about STS endpoints, see STS Regions and endpoints in the IAM User Guide. For information about logging STS API calls, see Logging IAM and STS API calls with CloudTrail in the IAM User Guide.
Code Examples
For code examples demonstrating how to use this service with the AWS SDK for Java v2, see:
API Actions
-
ClassDescriptionService client for accessing AWS STS asynchronously.A builder for creating an instance of
StsAsyncClient.This includes configuration specific to AWS STS that is supported by bothStsClientBuilderandStsAsyncClientBuilder.Service client for accessing AWS STS.A builder for creating an instance ofStsClient.Class to expose the service client settings to the user.A builder for creating aStsServiceClientConfiguration