What's Changed
Bug fixes
- Fixed credential resolution failures when dualstack endpoints are enabled
(AWS_USE_DUALSTACK_ENDPOINT, theaws.useDualstackEndpointsystem
property, oruse_dualstack_endpointin the AWS config profile). (#252,
fixes #248)- Removed the explicit STS endpoint override. Endpoint resolution is now
delegated to the AWS SDK's endpoint ruleset, which resolves regional,
dualstack, and FIPS endpoints correctly. Resolved endpoints for existing
non-dualstack regional configurations are unchanged. - With dualstack enabled and no
awsStsRegionconfigured, provider
construction now fails fast with an actionable error naming the
awsStsRegionJAAS option, instead of repeatedly retrying the
nonexistentsts.aws-global.api.awshostname. - When the last configured credential provider (for example the
awsRoleArnSTS provider) fails and the chain falls back to the default
providers, a WARN is now logged naming the failed provider, so the
connection no longer silently authenticates as an unintended ambient
identity. SettingawsAddDefaultProviders="false"remains the way to
fail fast instead of falling back. fipsEnabledis now set on the STS client only when the
awsShouldUseFipsJAAS option requests it, so ambient FIPS
configuration is honored.
- Removed the explicit STS endpoint override. Endpoint resolution is now