question

shaqspeare avatar image
shaqspeare asked

Help determining parameters for AssumeRoleWithWebIdentity

[on behalf of: dkavanagh] I'm at the point where I've authenticated via amazon and get values back, but when I try getting session tokens by assuming a role (via the STS call below), I'm not passing the right parameters. http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html Here's the response I get back from this call: https://api.amazon.com/auth/o2/tokeninfo?access_token= {"exp":3599,"iss":" https://www.amazon.com","aud":"amzn1.application-oa2-client.02dc0dnnnnnnnnnnf87cee14d9","user_id":"amzn1.account.AEPPnnnnnnnnnnnnnnRMAQ","app_id":"amzn1.application.d1dnnnnnnnnnnnnnnnneab1","iat":1372254912 I'm haven't figured out what to put in RoleSessionName (and want to confirm other values from the returned data to pass). David
login with amazon
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

shaqspeare avatar image
shaqspeare answered
Hi David, RoleSessionName is an arbitrary string that is used to identify your app for your session. While it is a required parameter, it really is up to you how you'd like to identify your calls to this API. This document should be a good place to start. While we are happy to assist you in any way we can, the AWS forums are the best place to get your questions answered for these WIF APIs.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.