title: Encrypted configuration in ASP.NET Core
body: <p>With <code>web.config</code> going away, what is the preferred way to store sensitive info (passwords, tokens) in the configurations of a web app built using ASP.NET Core?</p>
  <p>Is there a way to automatically get encrypted configuration sections in <code>appsettings.json</code>?</p>