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!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...