-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Description
First, I just wanted to say I have read the topic in #53. However, the person says in order for IAM Role to work, you just need to "leave it out" for aws_access_key and aws_access_secret. I have tried both commenting out the two lines:
config.aws_credentials = {
region: Rails.application.secrets.aws[:AWS_REGION], # Required
stub_responses: Rails.env.test? # Optional, avoid hitting S3 actual during tests
}
and
config.aws_credentials = {
access_key_id: "" ,
secret_access_key: "",
region: Rails.application.secrets.aws[:AWS_REGION], # Required
stub_responses: Rails.env.test? # Optional, avoid hitting S3 actual during tests
}
I get this error for both options.
CarrierWave Error: missing credentials, provide credentials with one of the following options:
- :access_key_id and :secret_access_key
- :credentials
- :credentials_provider
I can confirm that my IAM role is working fine, I tested with aws-sdk. It just seems like carrierwave is not liking the way I set up. Please help if anyone can, Thank you!
Metadata
Metadata
Assignees
Labels
No labels