-
Notifications
You must be signed in to change notification settings - Fork 245
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
Link to amazon envvars configuration #1162
Comments
Thank you for bringing this up to our attention. The name load_from_env is historical, not necessarily referring to just environment variables; it is currently a convenience wrapper around load_defaults. That said, I agree that the rustdoc does not provide information as to what those defaults are. We can probably link to this page. |
Thanks yeah I had to spend quite some time figuring out what they were, even from code its not super clear. Probably this could be a good first issue for someone to pick up also. |
Will be addressed by smithy-lang/smithy-rs#3694 |
The suggested link has been added to docs as of release-2024-06-18 (example) |
Comments on closed issues are hard for our team to see. |
Describe the issue
There are quite a few code samples out there, for example this one on the main page of the
aws_sdk_s3
crate, that just useload_from_env()
without ever documenting which env vars (or maybe I missed it but at least it wasn't clear from the get-go). Please just link to the relevant documentation, or include the relevant documentation here somewhere.https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-envvars.html
Links
https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-envvars.html
https://docs.rs/aws-sdk-s3/latest/aws_sdk_s3/client/struct.Client.html
The text was updated successfully, but these errors were encountered: