aws-doc-sdk-examples
aws-doc-sdk-examples copied to clipboard
[Enhancement]: STS AssumeRoleWithWebIdentity
Background story
Initial request via the Rust SDK: https://github.com/awslabs/aws-sdk-rust/issues/963
What does this example accomplish?
Shows developers how to use Cognito & Web Identities to allow controlled access to AWS resources. This allows using AWS web identity solutions as part of customer's technical stacks.
Which AWS service(s)?
STS
Which AWS SDKs or tools?
- [X] All languages
- [ ] .NET
- [ ] C++
- [ ] Go (v2)
- [ ] Java
- [ ] Java (v2)
- [ ] JavaScript
- [ ] JavaScript (v3)
- [ ] Kotlin
- [ ] PHP
- [ ] Python
- [ ] Ruby
- [ ] Rust
- [ ] Swift
- [ ] Not applicable
Are there existing code examples to leverage?
We don't have a specific example. Here's a bunch of links:
https://docs.aws.amazon.com/sdk-for-rust/latest/dg/rust_sts_code_examples.html
Do you have any reference code?
https://stackoverflow.com/questions/72169867/assume-role-with-webidentity-request-in-java
https://github.com/aws/aws-sdk-java-v2/issues/3110
https://github.com/aws/aws-sdk-go-v2/issues/2015