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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...