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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...