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 Resposta
0
Resposta aceita

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
ESPECIALISTA
respondido há 5 meses
profile picture
ESPECIALISTA
avaliado há 5 meses
profile picture
ESPECIALISTA
avaliado há 5 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas