A Security Token Service (STS) is a service that, on request from a client, issues security tokens, validates them and exchanges them for tokens of a different format or scope. The concept was defined in the WS-Trust web services security specification, and in OAuth 2.0 Token Exchange the authorization server acts as the STS.
In cloud computing the term also refers to services that issue temporary credentials, such as AWS STS from Amazon Web Services. In AI agent security, an STS is the component that verifies the identities of the agent and the user and issues short-lived tokens valid only for a specific operation.