I am dealing with a unauthenticated identity, via Cognito and the identity pool.
Here is what I am doing (via Rest API calls):
AWSCognitoIdentityService.GetId
-- to register the identityAWSCognitoIdentityService.GetCredentialsForIdentity
-- return credentials for the provided identity ID
What I am confused about, is this:
How can I covert the (temporary) AWS Credentials into an Access Token (so that I can perform calls against the AWS API Gateway)?
Or am I thinking about this the wrong way?
Btw, this is what I have, as my AWS Crendetials:
{
"Credentials": {
"AccessKeyId": "...",
"Expiration": 1649299760,
"SecretKey": "...",
"SessionToken": "..."
},
"IdentityId": "ap-southeast-2:..."
}