All Apps and Add-ons

AWS IAM Role

davidhofmann
Explorer

Is it possible to have the Splunk Add-on for AWS use the IAM Role assigned to the splunk server instead of using AWS user credentials?

0 Karma

rpille_splunk
Splunk Employee
Splunk Employee

Yes, you can. That is in fact the recommended way to handle this. See http://docs.splunk.com/Documentation/AddOns/latest/AWS/ConfigureAWSpermissions for details about the permissions. The docs say: "You can use the AWS Policy Generator tool to collect all permissions into one centrally managed policy that you can apply to the IAM used by the Splunk Enterprise server."

rpille_splunk
Splunk Employee
Splunk Employee

You can create a user specifically for the purpose of handling the Splunk Enterprise connection, assign them to the IAM role, then use that set of credentials when you set up the add-on and configure the connection to the AWS account.

davidhofmann
Explorer

That's what I'm doing now. But I was wondering if it's possible to not use user creditals and instead use the Server assigned role.

0 Karma

rpille_splunk
Splunk Employee
Splunk Employee

I see what you mean. No, not at this time. As it is designed, the add-on's connection with AWS depends on an account key ID and secret key.

davidhofmann
Explorer

Thanks. Policy wise I can set that up, but I'm not sure how to configure it on the splunk server side once I've assigned the IAM role to the server.

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...