Security

Cluster Deployer applying bundle caching credentials too long - credentials seem to be cached indefinitely

pkeller
Contributor

On one of my non-production search deployers, when I issue an apply shcluster-bundle, I am not being challenged for username/password after the first successful authentication following a splunk restart.

I've compared the server.conf->shclustering between two deployers, one that seems to challenge me pretty much ever time (preferred) and this other one that never challenges me ... the shclustering configs are identical.

Can anyone point me to where this can be configured? I do wish to be challenged routinely because we typically perform these operations across a team of Splunk admins using their own credentials. The current situation implies that Splunk is seemingly caching the credentials indefinitely.

note: I realize I can use -auth username:password ... but obviously, the cleartext password then gets written into the shell history which I do not want.

0 Karma
1 Solution

bheemireddi
Communicator

Hi Pkeller,

When you run those any admin commands, for any other purpose you inputted the admin credentials on performing other commands on that VM/server, the same credentials it tries to use for the following commands. For example if you have the Deployment server/Deployer on the same VM/server, you ran reload deploy-server and inputed the credentials, and you ran apply shcluster-bundle followed by reload, it doesn't ask you for the credentials and may be this is what is happening.

View solution in original post

0 Karma

bheemireddi
Communicator

Hi Pkeller,

When you run those any admin commands, for any other purpose you inputted the admin credentials on performing other commands on that VM/server, the same credentials it tries to use for the following commands. For example if you have the Deployment server/Deployer on the same VM/server, you ran reload deploy-server and inputed the credentials, and you ran apply shcluster-bundle followed by reload, it doesn't ask you for the credentials and may be this is what is happening.

0 Karma

pkeller
Contributor

My question is more around the challenging of those credentials. Our preference would be that we are challenged for credentials every time. And from your comments, it appears that it's not available. Thanks for replying. 🙂

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Casting Call: Compete in Cyber Games

Lights, Camera, SecOps: Apply to Compete in Cyber Games     Think you have what it takes to beat the clock? ...

Data Management Digest – June 2026

Welcome to the June 2026 edition of Data Management Digest! This month’s update is short and sweet, with a ...

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...