Splunk Enterprise

Execute CLI commands without password

nicofantinato
Path Finder

Hello to everyone,

as in the title, we'd need to run scripts for putting Splunk search heads in manual detention (but also running other management CLI commands), and we're looking for a way to do that without writing admin's password in plain text inside the command, or leaving it written in user's history.

Is there any way to do that? The only option I found right now is using -auth parameter, while instead the use of rest endpoint is not very clear and I'm not sure it fulfills my requests.

Any help?

Thanks in advance!

0 Karma
Get Updates on the Splunk Community!

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 ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...