title: Launch Daemon is not able to access keychain entries
body: <p>I have a command line process which is calling an API and fetching tokens from keychain. When I am running this process standalone with/without sudo from terminal, it is able to access the keychain entries. Now I have converted this into a launch daemon and trying to execute it as a launch daemon then it is not able to access token and giving me the error as &quot;Failed to read stored item from keychain (status: -25308)&quot;. I am using the below plist for creating the launch daemon.</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;!DOCTYPE plist PUBLIC &quot;-//Apple//DTD PLIST 1.0//EN&quot; &quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&quot;&gt;
  &lt;plist version=&quot;1.0&quot;&gt;
  &lt;dict&gt;
      &lt;key&gt;Label&lt;/key&gt;
      &lt;string&gt;TestAuth_SilentDaemon&lt;/string&gt;
      &lt;key&gt;Program&lt;/key&gt;
      &lt;string&gt;*complete path of TestAuth_SilentDaemon*&lt;/string&gt;  
      &lt;key&gt;KeepAlive&lt;/key&gt;
      &lt;true/&gt;
      &lt;key&gt;SessionCreate&lt;/key&gt;
      &lt;true/&gt;
      &lt;key&gt;UserName&lt;/key&gt;
      &lt;string&gt;admin&lt;/string&gt;
  &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  <p>Can someone please suggests what I am missing here?</p>