logstash-input-s3-sns-sqs
logstash-input-s3-sns-sqs copied to clipboard
Use an IAM User for credentials
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"}]
}
]