Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

509
Vistas
Aws SDK: CredentialsProviderError while integrating AWS v3 Javascript SDK

I am trying to integrate Amazon STS v3 javascript sdk and am getting the below error.It seems to be requiring credentials in the new STS() initialization.What exact credentials is it expecting since I want to get the AWS credentials from Assume Role Command response.

CredentialsProviderError: Could not load credentials from any providers

import  { STS , AssumeRoleCommand } from '@aws-sdk/client-sts'

    function test() {
    
      const client = new STS({ region: 'us-east-1'});
      const params = {
        RoleArm: 'arn:aws:iam:21212134:role/app',
        RoleSessionName: 'Session1',
    
      }
      const command = new AssumeRoleCommand(params);
      const response = await client.send(command);

    }
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You need to change RoleArm to RoleArn

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda