Splunk Enterprise

How to handle SmartStore key rotation?

xchang1226
Path Finder

We are trying to use our internal S3-compliant object store with SmartStore, but our access key and secret key expires and rotates every day, does anyone know how to handle the key rotation? I know these keys are set in the indexes.conf file, we should be able to write a script to update it, but does it require splunk restart? Any insights will be greatly appreciated.

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Your indexes.conf file should be in an app hosted on the Cluster Manager.  Have your script update the app with the new keys and tell the CM to push the cluster bundle (don't validate).  Not sure if the indexers will need to be restarted, but the CM will handle that.

---
If this reply helps you, Karma would be appreciated.
0 Karma

xchang1226
Path Finder

Thanks for your reply. Yes, CM will push out the bundle, I guess we will have to test and see if it requires rolling restart, I know in our environment, the rolling restart can cause a lot of issues. I was just wondering if there is a better or an official way to handle this rather than writing our own script.

0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...