Security

Can I authenticate with the "splunk" CLI tool to a remote Splunk server that uses Okta for authentication?

msabramo
New Member

splunk login wants a username and password:

$ ./splunk login
Splunk username: user
Password:
Moved Temporarily
Login Failed

but since my Splunk server uses Okta for auth, there is no password to give it.

0 Karma

davidpaper
Contributor

Greetings,

Splunk's CLI calls do not work with SSO. If you want to use your SSO-enabled splunk instance with ./splunk calls, you will need to add a local user to the splunk instance and authenticate via that user ID.

Get Updates on the Splunk Community!

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

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...