npm / @aws-sdk/client-sts
@aws-sdk/client-sts
What changed in @aws-sdk/client-sts 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
1 deprecations7 new APIs and options4 behavior and defaults6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@aws-sdk/client-sts 318 changes
Deprecations 1
PackedPolicySize is deprecated.
New APIs and options 7
Adds the MinimumSessionTokenSize parameter.
Adds the SessionTokenSize field.
Adds the SessionTokenUtilization field.
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.
Clients can select a protocol by class constructor.
Adds the STS API for obtaining short-lived JSON Web Tokens so AWS workloads can authenticate with external services.
Added the GetDelegatedAccessToken API, which is not available for general use at this time.
Behavior and default changes 4
Adds a default socket timeout for the STS service.
The packed policy size limit is removed.
The maximum session token size increases to 4,096 bytes.
The casing of endpoint ruleset parameters was updated.
Fixes and other changes 6
IDPCommunicationError is now retryable, affecting how the client handles this error.
Fixes adaptive retry throttling detection, which may affect retry behavior.
The SDK warns about the STS default region only when it is used.
Hash characters are now allowed in userAgentAppId, and the value is propagated to inner clients.
Credential providers now use the modified region resolver for inner STS clients.
Client configuration is now propagated to the inner STS client during role assumption.