aws-sdk-go-v2 icon indicating copy to clipboard operation
aws-sdk-go-v2 copied to clipboard

STS PresignAssumeRole support

Open craigfe opened this issue 3 years ago • 1 comments

Describe the feature

It'd be great to have support for pre-signing an STS AssumeRole request via the SDK. This was previously possible in SDKv1 by using the standard Presign function, but (as far as I can see) cannot currently be achieved with SDKv2.

I can submit a PR containing this feature if considered worthwhile.

Use Case

We have an internal use-case requiring a Go client to submit a presigned AssumeRole request to a server.

Proposed Solution

The sts.PresignClient currently supports PresignGetCallerIdentity, so this would involve adding a second PresignAssumeRole function in the same place.

Acknowledgements

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

AWS Go SDK V2 Module Versions Used

github.com/aws/aws-sdk-go-v2/service/[email protected] github.com/aws/[email protected]

Go version used

1.18.4

craigfe avatar Aug 04 '22 15:08 craigfe

Hi @CraigFe ,

Thanks for bringing this to our attention. I've added this to our backlog and will let you know when we add this feature.

Thanks, Ran~

RanVaknin avatar Aug 22 '22 18:08 RanVaknin

closing this issue as it has been fixed by https://github.com/aws/aws-sdk-go-v2/pull/1888

isaiahvita avatar Feb 06 '23 22:02 isaiahvita

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

github-actions[bot] avatar Feb 06 '23 22:02 github-actions[bot]