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.

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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ