title: Running a pod as a service account to connect to a database with Integrated Security
body: <p>I have a <code>.NET Core</code> service running on <code>Azure Kubernetes Service</code> and a Linux Docker image. It needs to connect to an on-premise database with Integrated Security. One of the service accounts in my on-premise AD has access to this database.</p>
  
  <p>My question is - is it possible to run a pod under a specific service account so the service can connect to the database? (Other approach I took was to impersonate the call with <code>WindowsIdentity.RunImpersonated</code>, however that requires the DLL "advapi32.dll" and I couldn't find a way to deploy it to the Linux container and make it run.)</p>