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 | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...