Skip to content

[request]: Please add support for overriding profile file paths #237

@bdonlan

Description

@bdonlan

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue, please leave a comment

Tell us about your request
Please add an option to ProfileFileCredentialsProvider to load credentials from a nonstandard path.

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Certain credential deployment systems work by placing credentials in a well-known path. Currently it is not possible to parse these credentials using the AWS SDK for rust, because it is not possible to override the profile path.

The rustdoc suggests aws_config::profile::load could be used to override this, but the rustdoc for this method does not provide a clear path to doing so (indeed, the Fs and Env arguments are not even rustdoc'd). When all you need is to load credentials, that's a lot more complexity than you'd need.

Are you currently working around this issue?
I am using rusoto to parse the profile and writing a custom ProvideCredentials to translate this to the Aws SDK credentials.

Metadata

Metadata

Assignees

Labels

feature-requestA feature should be added or improved.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions