S3 publisher no longer resolves credentials from ~/.aws/config
Author: yusufadesCreated Jul 31, 2026Updated Sep 30, 2026
LabelsStale
Changed in 26.13.0 with the the move to a JS based S3 publisher
he previous AWS go SDK used to also check ~/.aws/config for credentials, if the AWS_SDK_LOAD_CONFIG=1 is set.
this breaks existing pathway if you were using IAM Identity Center / SSO sessions for authenticating into AWS.
docs still point to this as being a supported feature: https://www.electron.build/docs/publish/#s3
previous related ticket where this auth pathway was added to the docs: https://github.com/electron-userland/electron-builder/pull/9018
not sure if the regression was intentional or if the docs need to be updated to reflect this.
Source: electron-userland/electron-builder