File Upload on AWS S3
Hello,
I am creating an admin panel using adminJs. I want to upload files on my S3 bucket. for that, I am using awsProvider.
I am getting an error Could not load credentials from any providers.
Here is the screenshot of the code.
FYI, file upload using LocalProvide is working fine.
Thanks in advance!!
The awsProvider docs say that the auth can happen in different ways. Have you tried adding the credentials to your AWS account as environment variables?
% export AWS_ACCESS_KEY_ID="anaccesskey" % export AWS_SECRET_ACCESS_KEY="asecretkey" % export AWS_REGION="us-west-2"
https://registry.terraform.io/providers/hashicorp/aws/latest/docs#authentication-and-configuration
@jaykukadiya99 Hey found any solution?
I'm getting error in file upload using aws
An error was encountered in a non-retryable streaming request. AccessDenied: Access Denied
@harshmalvi
Yes, I solved it. Check my stackoverflow answer
@harshmalvi
Yes, I solved it. Check my stackoverflow answer
https://stackoverflow.com/a/77335075/10273524
Thank you @jaykukadiya99