awslabs / awslabs/aws-sdk-rust

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

Open
#509 1 comment 2 reactions 0 assignees View on GitHub
feature-request p2
Dominant language
Rust
Stars
3.3k
Forks
290
Avg merge
1d 12h
Merged PRs (30d)
3

Description

### 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`](https://docs.rs/aws-sdk-sts/0.10.1/aws_sdk_sts/input/struct.AssumeRoleInput.html) 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](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) 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

Contributor guide

Open the contributing guide

Research direction

Start by comparing the AssumeRoleProviderBuilder with the AWS STS AssumeRoleInput fields linked in the issue. Trace how the builder constructs AssumeRole requests, then ensure every input field can be configured and remains available when the STS model gains fields; validate the resulting provider behavior with the relevant existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, rust
Domain
authentication, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.