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 Answer
0
Accepted Answer

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
EXPERT
answered 4 months ago
profile picture
EXPERT
reviewed 4 months ago
profile picture
EXPERT
reviewed 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions