Skip to content

Commit

Permalink
Add Note About IAM Roles for Amazon EC2
Browse files Browse the repository at this point in the history
  • Loading branch information
awood45 committed Jan 15, 2016
1 parent 280dc38 commit ad8115f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ creds = Aws::Credentials.new(creds['AccessKeyId'], creds['SecretAccessKey'])
Aws::Rails.add_action_mailer_delivery_method(:aws_sdk, credentials: creds, region: 'us-east-1')
```

If you're running your Ruby on Rails application on Amazon Elastic Compute
Cloud, keep in mind that the AWS SDK for Ruby will automatically check Amazon
EC2 instance metadata for credentials. Learn more:
[IAM Roles for Amazon EC2](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html)

## AWS SDK for Ruby Logging Uses the Rails Logger

Automatically, the AWS SDK for Ruby will be configured to use the built-in Rails
Expand Down

0 comments on commit ad8115f

Please sign in to comment.