aws-sdk-go-v2
aws-sdk-go-v2 copied to clipboard
STS PresignAssumeRole support
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
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~
closing this issue as it has been fixed by https://github.com/aws/aws-sdk-go-v2/pull/1888
⚠️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.