Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

99
Visualizações
Authentication using Amazon User Pools

I am new to user pools and used federated identities in the past. Do we still use the Unauth and Auth Roles of IAM? How does this work? I want a user to be able to just signUp and pass in some attributes (like username and email that are unique) and then signIn with them and get access to various AWS resources? Say a user signs in and then can upload a file to S3. Thanks.

about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

That should be possible. To get credentials to access AWS resources for your user pool user, first associate your user pool with an identity pool through the AWS Console, and then provide AWSCognitoIdentityUserPool to your AWSCognitoCredentialsProvider (in iOS).

After you configure the identity pool association, get AWS credentials into your app by providing AWSCognitoIdentityUserPool to your AWSCognitoCredentialsProvider.

AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1 identityPoolId:@"IDENTITY_POOL_ID" identityProviderManager:pool];
AWSServiceConfiguration *defaultServiceConfiguration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1
        credentialsProvider:credentialsProvider];
AWSServiceManager.defaultServiceManager.defaultServiceConfiguration = defaultServiceConfiguration;
about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda