Skip to content

docs(electron-publish): Mention the use of ~/.aws/config in electron-publisher s3 options #9018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

gtluszcz
Copy link
Contributor

@gtluszcz gtluszcz commented Apr 9, 2025

It might seem like electron-builder or electron-publish do not support global aws credential configuration via ~/.aws/config file. They do but you have to specify AWS_SDK_LOAD_CONFIG=1 env variable as the underlying Go SDK used for publishing does not load this file by default

In our use case we were trying to use IAM Identity Center SSO Credentials stored in ~/.aws/config combined with AWS_PROFILE= env variable. Took us quite some time to find how to achieve that. IMO this should be mentioned in the docs.

If you're seeing:

NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors

this may apply to you

Copy link

changeset-bot bot commented Apr 9, 2025

🦋 Changeset detected

Latest commit: c3848d3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
app-builder-lib Patch
builder-util-runtime Patch
dmg-builder Patch
electron-builder-squirrel-windows Patch
electron-builder Patch
electron-forge-maker-appimage Patch
electron-forge-maker-nsis-web Patch
electron-forge-maker-nsis Patch
electron-forge-maker-snap Patch
builder-util Patch
electron-publish Patch
electron-updater Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gtluszcz gtluszcz changed the title Mention the use of ~/.aws/config in electron-publisher s3 options docs(electron-publisher): Mention the use of ~/.aws/config in electron-publisher s3 options Apr 9, 2025
@gtluszcz gtluszcz changed the title docs(electron-publisher): Mention the use of ~/.aws/config in electron-publisher s3 options docs(electron-publish): Mention the use of ~/.aws/config in electron-publisher s3 options Apr 9, 2025
@gtluszcz
Copy link
Contributor Author

gtluszcz commented Apr 9, 2025

I think the labels should mention app-builder-lib, electron-publish but i don't know how to change that

@mmaietta
Copy link
Collaborator

Thanks for adding to the docs! Could you please regenerate the schema using pnpm generate-all and then also create a changeset file for this change? (pnpm generate-changeset)

@gtluszcz
Copy link
Contributor Author

Done

@mmaietta mmaietta merged commit a2f7f73 into electron-userland:master Apr 10, 2025
33 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants