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 Respuesta
0
Respuesta aceptada

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
EXPERTO
respondido hace 5 meses
profile picture
EXPERTO
revisado hace 5 meses
profile picture
EXPERTO
revisado hace 5 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas