AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Classes

NameDescription
Class AmazonSecurityTokenServiceClient

Implementation for accessing SecurityTokenService

Service client instances are thread-safe and can be shared across multiple threads. For a given service configuration, it is recommended to reuse a client instance for the lifetime of your application.

Security Token Service

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.

Class AmazonSecurityTokenServiceConfig

Configuration for accessing Amazon SecurityTokenService service

Class AmazonSecurityTokenServiceDefaultConfiguration

Configuration for accessing Amazon SecurityTokenService service

Class AmazonSecurityTokenServiceException

Common exception for the SecurityTokenService service.

Class AmazonSecurityTokenServiceRequest

Base class for SecurityTokenService operation requests.

Class SecurityTokenServiceAdaptiveRetryPolicy

An implementation of the Amazon.Runtime.Internal.AdaptiveRetryPolicy that retries certain additional STS errors. IDPCommunicationError is treated as a transient error and retried for all STS operations, while InvalidIdentityToken is retried only for AssumeRoleWithWebIdentity requests.

Class SecurityTokenServiceRetryPolicy

An implementation of the Amazon.Runtime.Internal.DefaultRetryPolicy that retries certain additional STS errors. IDPCommunicationError is treated as a transient error and retried for all STS operations, while InvalidIdentityToken is retried only for AssumeRoleWithWebIdentity requests.

Class SecurityTokenServiceStandardRetryPolicy

An implementation of the Amazon.Runtime.Internal.StandardRetryPolicy that retries certain additional STS errors. IDPCommunicationError is treated as a transient error and retried for all STS operations, while InvalidIdentityToken is retried only for AssumeRoleWithWebIdentity requests.

Interfaces

NameDescription
Interface IAmazonSecurityTokenService

Interface for accessing SecurityTokenService

Security Token Service

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.