Skip to content

Support Session Tags in AssumeRoleProviderBuilder #1366

@c-thiel

Description

@c-thiel

Describe the feature

Currently the AssumeRoleProviderBuilder does not support to pass-through Tags.
The would need to be applied to the fluent builder here:

let fluent_builder = sts_client
.assume_role()
.set_role_arn(Some(self.role_arn))
.set_external_id(self.external_id)
.set_role_session_name(Some(session_name))
.set_policy(self.policy)
.set_policy_arns(self.policy_arns)
.set_duration_seconds(self.session_length.map(|dur| dur.as_secs() as i32));

As all inner fields are immutable, there is currently no way to work with tags.

Use Case

Permissions

Proposed Solution

See feature description

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p2This is a standard priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions