AWS Security Token Service
Security Token Service Amazon Web Services provides Security Token Service (STS) as a web service that enables you to request temporary, limited-privilege…
Identity & security#openapi#cloud
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
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 .
Endpoints 11
- POSTAssume role
/#Action=AssumeRole?Action=AssumeRole&Version=2011-06-15Returns a set of temporary security credentials that you can use to access Amazon Web Services resources. These temporary credentials consist of an access key… - POSTAssume role with sAML
/#Action=AssumeRoleWithSAML?Action=AssumeRoleWithSAML&Version=2011-06-15Returns a set of temporary security credentials for users who have been authenticated via a SAML authentication response. This operation provides a mechanism… - POSTAssume role with web identity
/#Action=AssumeRoleWithWebIdentity?Action=AssumeRoleWithWebIdentity&Version=2011-06-15Returns a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity provider. Example… - POSTAssume root
/#Action=AssumeRoot?Action=AssumeRoot&Version=2011-06-15Returns a set of short term credentials you can use to perform privileged tasks on a member account in your organization. You must use credentials from an… - POSTDecode authorization message
/#Action=DecodeAuthorizationMessage?Action=DecodeAuthorizationMessage&Version=2011-06-15Decodes additional information about the authorization status of a request from an encoded message returned in response to an Amazon Web Services request. For… - POSTGet access key info
/#Action=GetAccessKeyInfo?Action=GetAccessKeyInfo&Version=2011-06-15Returns the account identifier for the specified access key ID. Access keys consist of two parts: an access key ID (for example, AKIAIOSFODNN7EXAMPLE ) and a… - POSTGet caller identity
/#Action=GetCallerIdentity?Action=GetCallerIdentity&Version=2011-06-15Returns details about the IAM user or role whose credentials are used to call the operation. No permissions are required to perform this operation. If an… - POSTGet delegated access token
/#Action=GetDelegatedAccessToken?Action=GetDelegatedAccessToken&Version=2011-06-15Exchanges a trade-in token for temporary Amazon Web Services credentials with the permissions associated with the assumed principal. This operation allows you… - POSTGet federation token
/#Action=GetFederationToken?Action=GetFederationToken&Version=2011-06-15Returns a set of temporary security credentials (consisting of an access key ID, a secret access key, and a security token) for a user. A typical use is in a… - POSTGet session token
/#Action=GetSessionToken?Action=GetSessionToken&Version=2011-06-15Returns a set of temporary credentials for an Amazon Web Services account or IAM user. The credentials consist of an access key ID, a secret access key, and a… - POSTGet web identity token
/#Action=GetWebIdentityToken?Action=GetWebIdentityToken&Version=2011-06-15Returns a signed JSON Web Token (JWT) that represents the calling Amazon Web Services identity. The returned JWT can be used to authenticate with external…
API details
- Base URL
https://sts.{region}.amazonaws.com- Authentication
- AWS Signature Version 4 (requests signed with your AWS access key)
- Operations
- 11 operations on 11 pathsPOST 11
- Description format
- AWS Smithy model, API version
2011-06-15 - Links
- Documentation · OpenAPI document
- Listed from
- AWS Smithy API model (aws/api-models-aws) (Apache-2.0)
How to test the AWS Security Token Service in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the AWS Security Token Service collection, without the publisher's secrets.
- Add your credentialsThis API uses AWS Signature Version 4 (requests signed with your AWS access key). Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Assume role” (POST /#Action=AssumeRole?Action=AssumeRole&Version=2011-06-15), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the AWS Security Token Service?
Security Token Service Amazon Web Services provides Security Token Service (STS) as a web service that enables you to request temporary, limited-privilege… It is listed under Identity & security and has 11 endpoints.
Who publishes the AWS Security Token Service?
It is listed from Amazon Web Services, Inc.'s public API description (an OpenAPI document), not published by Amazon Web Services, Inc. on Swastik Codes. Anyone who controls amazonaws.com can claim the profile by adding a DNS TXT record.
What is the base URL of the AWS Security Token Service?
Requests go to https://sts.{region}.amazonaws.com. Endpoint paths are added to this base URL.
How do I authenticate with the AWS Security Token Service?
With AWS Signature Version 4 (requests signed with your AWS access key).
How many endpoints does the AWS Security Token Service have?
11 operations on 11 paths (11 POST).
Is forking the AWS Security Token Service free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.