-
Notifications
You must be signed in to change notification settings - Fork 23
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
Missing Credentials in Config #356
Comments
I get the same issue. I also have the same permissions. |
Any resolution on this? Having the same issue and can't figure out what's going on 😕 |
Adding the region fixed it for me, my bucket was in |
I was able to fix this but creating an IAM user with its own set of credentials for the hosting platform I’m using (Netlify in this case). You’ll just need to give read access to the desired S3 bucket and put those env vars in your
module.exports = {
plugins: [
{
resolve: 'gatsby-source-s3-image',
options: {
accessKeyId: process.env.AWS_S3_ACCESS_KEY_ID,
secretAccessKey: process.env.AWS_S3_SECRET_ACCESS_KEY,
bucketName: 'bucket-name',
region: 'us-east-1',
},
},
],
} |
Getting the error below. My bucket is public so I'm not sure what's going on - am I missing something obvious? My plugin is a copy and paste of the README.
The text was updated successfully, but these errors were encountered: