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
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...