Is there a "splunk" way to execute the "splunk show license" command without credentials or pass them as part of the command? I know expect scripting can be used but wanted to see if there was an easier way first.
splunk show license -auth <user>:<password>
Replace <user> and <password> with your credentials
Awesome - that worked. Wasn't able to find that anywhere so thank you!!
All splunk commands with authentication use this standard -auth scheme.