aws_sdk_sts::assume_role() is hard to use #1196
Labels
documentation
This is a problem with documentation
feature-request
A feature should be added or improved.
p3
This is a minor priority issue
Describe the feature
aws_sdk_sts::assume_role() is hard to use, because the Credentials returned by assume_role (aws_sdk_sts::types::Credentials) do not implement the trait ProvideCredentials; for that, you need something like aws_sdk_sts::config::Credentials.
Use Case
I expect to be able to call assume_role() and use the result to create and sdk client
Proposed Solution
Ideally, you would provide some way to very simply use the output of assume_role to create clients of the other aws sdks.
At a minimum, you would provide, in the documentation of assume_role, the code needed to make that happen, which is something like
Other Information
No response
Acknowledgements
A note for the community
Community Note
The text was updated successfully, but these errors were encountered: