# What changed in @aws-sdk/client-sts

> 18 changes in @aws-sdk/client-sts 3 from its official release notes, upgrade guides and advisories: 1 deprecations, 7 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/@aws-sdk/client-sts/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @aws-sdk/client-sts 3

### Deprecations

- PackedPolicySize is deprecated. (3.1132.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#311320-2026-09-14)

### New APIs and options

- Adds the MinimumSessionTokenSize parameter. (3.1132.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#311320-2026-09-14)
- Adds the SessionTokenSize field. (3.1132.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#311320-2026-09-14)
- Adds the SessionTokenUtilization field. (3.1132.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#311320-2026-09-14)
- The STS client now supports configuring SigV4a through the auth scheme preference setting, allowing long-term IAM credentials to continue making STS API calls when a region is isolated from the partition leader. (3.1032.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#310320-2026-04-17)
- Clients can select a protocol by class constructor. (3.953.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#39530-2025-12-16)
- Adds the STS API for obtaining short-lived JSON Web Tokens so AWS workloads can authenticate with external services. (3.935.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#39350-2025-11-19)
- Added the GetDelegatedAccessToken API, which is not available for general use at this time. (3.928.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#39280-2025-11-10)

### Behavior and default changes

- Adds a default socket timeout for the STS service. (3.1162.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3cc0c0ec0cbaaad72b01b01571d23d3bb3c3bde9/clients/client-sts/CHANGELOG.md#311620-2026-11-04)
- The packed policy size limit is removed. (3.1132.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#311320-2026-09-14)
- The maximum session token size increases to 4,096 bytes. (3.1132.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#311320-2026-09-14)
- The casing of endpoint ruleset parameters was updated. (3.921.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#39210-2025-10-30)

### Fixes and other changes

- IDPCommunicationError is now retryable, affecting how the client handles this error. (3.1035.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#310350-2026-04-22)
- Fixes adaptive retry throttling detection, which may affect retry behavior. (3.1021.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#310210-2026-03-31)
- The SDK warns about the STS default region only when it is used. (3.952.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#39520-2025-12-15)
- Hash characters are now allowed in userAgentAppId, and the value is propagated to inner clients. (3.922.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#39220-2025-10-31)
- Credential providers now use the modified region resolver for inner STS clients. (3.920.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#39200-2025-10-29)
- Client configuration is now propagated to the inner STS client during role assumption. (3.914.0) — [release notes](https://github.com/aws/aws-sdk-js-v3/blob/3ce8aa778c22193dad5f7fcefe239e3a74a3cd4f/clients/client-sts/CHANGELOG.md#39140-2025-10-21)
