Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CredentialsProviderError: Could not load credentials from any providers #1

Open
Alexsandrogms opened this issue Mar 26, 2024 · 0 comments

Comments

@Alexsandrogms
Copy link

Ao clonar o projeto e tentar executar conforme o vídeo postado no YouTube, me deparei com o seguinte erro: CredentialsProviderError: Could not load credentials from any providers. Com isso, adicionei o seguinte código no arquivo factory, e funcionou normalmente.

Codigo:

if (isLocal) {
	const host = process.env.LOCALSTACK_HOST || "localhost";
	s3config.endpoint = `http://${host}:4566`;
+	s3config.credentials = {
+		accessKeyId: "test",
+		secretAccessKey: "test",
+	};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant