aws-sdk-rust icon indicating copy to clipboard operation
aws-sdk-rust copied to clipboard

Allow full customization of `AssumeRoleInput` for the AssumeRole credential provider

Open jdisanti opened this issue 2 years ago • 1 comments

Describe the feature

From discussion https://github.com/awslabs/smithy-rs/discussions/1309

Customers should be able to set every field on the AssumeRole input without code changes to expose those fields so that if STS adds new fields to the operation, they're immediately accessible after the STS model is updated.

Use Case

A new field is added to AssumeRole and I want to use it when directly constructing an AssumeRoleProvider.

Proposed Solution

Replicate the fields in AssumeRoleInput in the AssumeRoleProviderBuilder.

Other Information

No response

Acknowledgements

  • [ ] I may be able to implement this feature request
  • [X] This feature might incur a breaking change

A note for the community

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

jdisanti avatar Apr 07 '22 17:04 jdisanti

Seems like customers should also be able to configure the underlying STS client when they create the AssumeRoleProvider.

jdisanti avatar Apr 26 '22 22:04 jdisanti