Enable S3 Input plugin to use EC2 instance IAM roles

Description

The S3 plugin currently requires AWS credentials be passed either explicitly or via environment variables. The dominant paradigm on EC2 instances is to use IAM roles which are assigned to the instance and available programmatically to running programs.The ruby fog gem supports IAM roles as does the AWS plugin for Elasticsearch. Adding this feature would avoid users having to hard code credentials or manage environment variables.

Environment

None

Status

Assignee

Logstash Developers

Reporter

David Severski

Labels

None

Affects versions

Priority

Configure