How can I get AWS credentials through Cognito identity pool?

  amazon-cognito, c++, credentials, identity

I’d like to know how I can get temporary AWS credentials through Amazon Cognito Identity pool (in C/C++)?

From the link (, it seems we could get the credentials by only providing the Identity Pool ID and the region to the application, but after some checking of the aws-sdk-cpp SDK (, it seems no direct way&example to do this.

So I’d like to know if anyone here knows about this and give me some guidance? Thanks in advance! 🙂

Source: Windows Questions C++