Skip to content

Conversation

kylebarron
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

The documentation for AmazonS3Builder::from_env makes it seem like only specific AWS environment variables are looked for in the current environment. However any env vars starting with AWS_ are checked.

What changes are included in this PR?

Document that all env vars starting with AWS_ are checked, so any value in AmazonS3ConfigKey can be used.

Are there any user-facing changes?

No, documentation only.

@kylebarron
Copy link
Contributor Author

Perhaps the Azure and GCS from_env docs should be updated similarly? I haven't looked at their implementations.

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kylebarron !

@tustvold tustvold merged commit 12a1235 into apache:main Jan 15, 2025
14 checks passed
totoroyyb pushed a commit to totoroyyb/arrow-rs that referenced this pull request Jan 20, 2025
* Improve docs for `AmazonS3Builder::from_env`

* wording

* Update object_store/src/aws/builder.rs

---------

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
alamb added a commit to alamb/arrow-rs that referenced this pull request Mar 20, 2025
* Improve docs for `AmazonS3Builder::from_env`

* wording

* Update object_store/src/aws/builder.rs

---------

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants