I’m working on developing an app that requires making REST API calls to Splunk in order to gather information about saved searches, knowledge objects, and more.
Could you please advise on the most secure method for authorization and authentication? Does the REST API support MFA, or are there other mechanisms available, with or without SAML?
Is token generation the only secure way to make these API calls, or are there alternative methods?
Thanks
Manish Kumar
Tokens are usually the way to go for most scenarios.
https://docs.splunk.com/Documentation/SplunkCloud/latest/Security/SetupuserauthenticationwithSplunk
https://docs.splunk.com/Documentation/Splunk/9.3.1/Security/UseAuthTokens
Hope this helps!
Tokens are usually the way to go for most scenarios.
https://docs.splunk.com/Documentation/SplunkCloud/latest/Security/SetupuserauthenticationwithSplunk
https://docs.splunk.com/Documentation/Splunk/9.3.1/Security/UseAuthTokens
Hope this helps!
From the security standpoint token authentication doesn't differ from user/password authentication. It's still authentication with a static secret.
You can't use SAML for REST API authentication.
You might want to think about integrating an external credentials provider like Conjur and rotating the tokens often