logstash-input-s3-sns-sqs icon indicating copy to clipboard operation
logstash-input-s3-sns-sqs copied to clipboard

Use an IAM User for credentials

Open jasoncal108 opened this issue 4 months ago • 0 comments

In the documentation there's only mention of IAM Role for credentials. Is there a possibility to use an IAM User?

  s3_options_by_bucket       => [
       { bucket_name => "logs-bucket-222222222222-.*"
         credentials => { role => "arn:aws:iam::222222222222:role/logging-role" }
       },
       { bucket_name => "logs-bucket-333333333333-eu-central-1"
         credentials => { role => "arn:aws:iam::333333333333:role/logging-role" }
         folders => [
         { key => ".*/waflogs.*"
           codec => "json_stream"
           type => "waflogs"},
         { key => ".*/2020"
           codec => "json_lines"
           type => "reports"}]
       }
   ]

jasoncal108 avatar Oct 31 '24 12:10 jasoncal108