<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to I trigger reload of authentication configuration programmatically? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114818#M24020</link>
    <description>&lt;P&gt;There is a button in the GUI which triggers a reload of authentication configuration (see screenshot below).  Is there a way trigger a reload programmically? Maybe via the REST API?&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://answers.splunk.com//storage/reload_authentication_button.jpg" alt="screen of reload button in web UI" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Apr 2014 12:57:13 GMT</pubDate>
    <dc:creator>juniormint</dc:creator>
    <dc:date>2014-04-01T12:57:13Z</dc:date>
    <item>
      <title>How to I trigger reload of authentication configuration programmatically?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114818#M24020</link>
      <description>&lt;P&gt;There is a button in the GUI which triggers a reload of authentication configuration (see screenshot below).  Is there a way trigger a reload programmically? Maybe via the REST API?&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://answers.splunk.com//storage/reload_authentication_button.jpg" alt="screen of reload button in web UI" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2014 12:57:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114818#M24020</guid>
      <dc:creator>juniormint</dc:creator>
      <dc:date>2014-04-01T12:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to I trigger reload of authentication configuration programmatically?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114819#M24021</link>
      <description>&lt;P&gt;Try this Rest API endpoint&lt;/P&gt;

&lt;P&gt;http(s)://yourserver:8000/en-US/debug/refresh?entity=admin/auth-services&lt;/P&gt;

&lt;P&gt;You can use curl or similar tools to launch this.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2014 13:53:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114819#M24021</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-04-01T13:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to I trigger reload of authentication configuration programmatically?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114820#M24022</link>
      <description>&lt;P&gt;hmmm...seems close. not sure what I am doing wrong.&lt;BR /&gt;
    curl -k -u admin:changeme &lt;A href="http://localhost:8000/debug/refresh?entity=admin/auth-services"&gt;http://localhost:8000/debug/refresh?entity=admin/auth-services&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; This resource can be found at &amp;lt;a href='http://localhost:8000/en-US/debug/refresh?entity=admin%2Fauth-services'&amp;gt;http://localhost:8000/en-US/debug/refresh?entity=admin%2Fauth-services&amp;lt;/a&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Apr 2014 23:43:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114820#M24022</guid>
      <dc:creator>juniormint</dc:creator>
      <dc:date>2014-04-01T23:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to I trigger reload of authentication configuration programmatically?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114821#M24023</link>
      <description>&lt;P&gt;Hi juniormint,&lt;/P&gt;

&lt;P&gt;don't look to far, good things are so close &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &lt;BR /&gt;
You can use this simple Splunk command to do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;./splunk _internal call /authentication/providers/services/_reload -auth
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Result will look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;QUERYING: 'https://127.0.0.1:8089/services/authentication/providers/services/_reload'
Your session is invalid.  Please login.
Splunk username: 
Password:
HTTP Status: 200.
Content:
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;?xml-stylesheet type="text/xml" href="/static/atom.xsl"?&amp;gt;
&amp;lt;feed xmlns="http://www.w3.org/2005/Atom" xmlns:s="http://dev.splunk.com/ns/rest" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"&amp;gt;
  &amp;lt;title&amp;gt;auth-services&amp;lt;/title&amp;gt;
  &amp;lt;id&amp;gt;https://127.0.0.1:8089/services/authentication/providers/services&amp;lt;/id&amp;gt;
  &amp;lt;updated&amp;gt;2014-04-02T08:39:45+02:00&amp;lt;/updated&amp;gt;
  &amp;lt;generator build="163460" version="5.0.3"/&amp;gt;
  &amp;lt;author&amp;gt;
    &amp;lt;name&amp;gt;Splunk&amp;lt;/name&amp;gt;
  &amp;lt;/author&amp;gt;
  &amp;lt;link href="/services/authentication/providers/services/_reload" rel="_reload"/&amp;gt;
  &amp;lt;opensearch:totalResults&amp;gt;0&amp;lt;/opensearch:totalResults&amp;gt;
  &amp;lt;opensearch:itemsPerPage&amp;gt;30&amp;lt;/opensearch:itemsPerPage&amp;gt;
  &amp;lt;opensearch:startIndex&amp;gt;0&amp;lt;/opensearch:startIndex&amp;gt;
  &amp;lt;s:messages/&amp;gt;
&amp;lt;/feed&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Done &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
If you setup an cron job or a script you can fire it when ever you need it/want to.&lt;/P&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 06:43:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114821#M24023</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-04-02T06:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to I trigger reload of authentication configuration programmatically?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114822#M24024</link>
      <description>&lt;P&gt;Thanks MuS! This is pretty good.  I'm still interested in figuring out what I am doing wrong with my curl command...but your answer looks like it will for me.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 13:48:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114822#M24024</guid>
      <dc:creator>juniormint</dc:creator>
      <dc:date>2014-04-02T13:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to I trigger reload of authentication configuration programmatically?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114823#M24025</link>
      <description>&lt;P&gt;You're welcome. Please tick the tick to mark it as answered&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 13:51:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114823#M24025</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-04-02T13:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to I trigger reload of authentication configuration programmatically?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114824#M24026</link>
      <description>&lt;P&gt;Is there a management port rest endpoint for refreshing?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 14:35:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114824#M24026</guid>
      <dc:creator>juniormint</dc:creator>
      <dc:date>2014-04-02T14:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to I trigger reload of authentication configuration programmatically?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114825#M24027</link>
      <description>&lt;P&gt;figured it out...answer below&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 16:08:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114825#M24027</guid>
      <dc:creator>juniormint</dc:creator>
      <dc:date>2014-04-02T16:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to I trigger reload of authentication configuration programmatically?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114826#M24028</link>
      <description>&lt;P&gt;This seems to work and is available through the management port.&lt;/P&gt;

&lt;P&gt;curl -k -u admin:changeme &lt;A href="https://splunkserver:8089/services/authentication/providers/services/_reload"&gt;https://splunkserver:8089/services/authentication/providers/services/_reload&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 16:09:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114826#M24028</guid>
      <dc:creator>juniormint</dc:creator>
      <dc:date>2014-04-02T16:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to I trigger reload of authentication configuration programmatically?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114827#M24029</link>
      <description>&lt;P&gt;This worked great!  BTW, here's a much easier way of doing it across all accessible search peer instances (e.g. via a central DMC system) via search: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest splunk_server=* /services/authentication/providers/services/_reload
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note: It won't return any results, but it will work for those distributed search peers that are accessible.&lt;/P&gt;

&lt;P&gt;And way to check if it worked:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest splunk_server=* /services/authentication/users
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Apr 2016 13:37:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114827#M24029</guid>
      <dc:creator>mkolkebeck</dc:creator>
      <dc:date>2016-04-21T13:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to I trigger reload of authentication configuration programmatically?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114828#M24030</link>
      <description>&lt;P&gt;Hi Mus,&lt;BR /&gt;
I have issues with authentication configurations. Recently I have updated installed the spunk license from spunk UI and restarted services. After restart, I have lost the Slunk SAML configuration which I have set to Onelogin. Now I am trying reload the authentication method but I am not able to redirect login to Onelogin (SSO). I also tried to rec configure  SAML settings with same values and I  am getting sAML is already configured.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;SAML has already been configured. Cannot add a new SAML configuration.saml&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;since I found this is a relevant thread on spunk authentication configuration, thought to check with you. Your help is appreciated .&lt;/P&gt;

&lt;P&gt;-Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 09:43:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114828#M24030</guid>
      <dc:creator>splunkgk</dc:creator>
      <dc:date>2017-08-03T09:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to I trigger reload of authentication configuration programmatically?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114829#M24031</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;./splunk reload auth
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;... per &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Security"&gt;Securing Splunk Enterprise&lt;/A&gt; &amp;gt; &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Security/Editauthenticationconf"&gt;Edit authentication.conf&lt;/A&gt;. (Other answers include the command but not the corresponding Splunk LB article.)&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 18:43:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-I-trigger-reload-of-authentication-configuration/m-p/114829#M24031</guid>
      <dc:creator>mitag</dc:creator>
      <dc:date>2019-07-02T18:43:04Z</dc:date>
    </item>
  </channel>
</rss>

