Accessing S3 Using Cognito access token in my angular application

0

I am in developing stage of my angular application. Can anyone please help me with a method to access the s3 resources using the accessToken that I get from cognito service login . If anyone knows the way can you please Insert sample code here for angular.

DSP
已提问 5 个月前333 查看次数
1 回答
0
已接受的回答

Hi,

Your Amazon Cognito user pool token is not valid to give users access to AWS resources such as an Amazon S3 bucket. However, you can exchange that token for AWS credentials using Amazon Cognito identity pool that allow your app to access the AWS services.

The following AWS documentation page describes step by step how to create the Amazon Cognito identity pool and how to integrate your javascript application with it.

Enter image description here

profile picture
专家
已回答 5 个月前
profile picture
专家
已审核 5 个月前
profile picture
专家
已审核 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容