<?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>idea Please add requests_pkcs12 to arcpy in Python Ideas</title>
    <link>https://community.esri.com/t5/python-ideas/please-add-requests-pkcs12-to-arcpy/idi-p/1581522</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-02-03 at 4.23.28 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/124564i0C747F41A3FD7534/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-02-03 at 4.23.28 PM.png" alt="Screenshot 2025-02-03 at 4.23.28 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see, there are a number of requests package extensions that ship with arcpy.&lt;/P&gt;&lt;P&gt;I have to often deal with client certificates in PKCS12 bundles (.p12 files) in something of an edge case for managing authentication to web services.&lt;/P&gt;&lt;P&gt;requests_pkcs12 is a pure requests extension, well maintained, no problematic dependencies - it would fit easily right along side gssapi, kerberos and oauthlib.&lt;/P&gt;&lt;P&gt;Such an effortless add, and would make my life so dramatically easier - please help!&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2025 21:29:07 GMT</pubDate>
    <dc:creator>EricEagle</dc:creator>
    <dc:date>2025-02-03T21:29:07Z</dc:date>
    <item>
      <title>Please add requests_pkcs12 to arcpy</title>
      <link>https://community.esri.com/t5/python-ideas/please-add-requests-pkcs12-to-arcpy/idi-p/1581522</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-02-03 at 4.23.28 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/124564i0C747F41A3FD7534/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-02-03 at 4.23.28 PM.png" alt="Screenshot 2025-02-03 at 4.23.28 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see, there are a number of requests package extensions that ship with arcpy.&lt;/P&gt;&lt;P&gt;I have to often deal with client certificates in PKCS12 bundles (.p12 files) in something of an edge case for managing authentication to web services.&lt;/P&gt;&lt;P&gt;requests_pkcs12 is a pure requests extension, well maintained, no problematic dependencies - it would fit easily right along side gssapi, kerberos and oauthlib.&lt;/P&gt;&lt;P&gt;Such an effortless add, and would make my life so dramatically easier - please help!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 21:29:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/please-add-requests-pkcs12-to-arcpy/idi-p/1581522</guid>
      <dc:creator>EricEagle</dc:creator>
      <dc:date>2025-02-03T21:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Please add requests_pkcs12 to arcpy - Status changed to: Needs Clarification</title>
      <link>https://community.esri.com/t5/python-ideas/please-add-requests-pkcs12-to-arcpy/idc-p/1607129#M458</link>
      <description>&lt;P&gt;Thanks for the suggestion. Could you clarify what kinds of servers you need to access in this way? If they are ArcGIS Servers, the Python API today has a PKCS12 story that should work (it was added a few releases ago):&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/latest/guide/working-with-different-authentication-schemes/#web-tier-authentication-secured-with-pki" target="_blank"&gt;https://developers.arcgis.com/python/latest/guide/working-with-different-authentication-schemes/#web-tier-authentication-secured-with-pki&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The package itself is really just one file (&lt;A href="https://github.com/m-click/requests_pkcs12/blob/master/requests_pkcs12.py" target="_blank"&gt;https://github.com/m-click/requests_pkcs12/blob/master/requests_pkcs12.py&lt;/A&gt;), which is about 150 lines if you strip off the tests. It might be easiest just to inline that if you do need direct access to a PKCS12 server outside of an ArcGIS server context, but am interested to hear if there are more nuances that aren't captured yet.&lt;/P&gt;&lt;P&gt;Thanks, Shaun&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 20:11:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/please-add-requests-pkcs12-to-arcpy/idc-p/1607129#M458</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2025-04-17T20:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Please add requests_pkcs12 to arcpy</title>
      <link>https://community.esri.com/t5/python-ideas/please-add-requests-pkcs12-to-arcpy/idc-p/1616016#M465</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/89710"&gt;@ShaunWalbridge&lt;/a&gt;&amp;nbsp;Shaun, sorry but I just saw this - I don't get notified for replies for some reason -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, I work in the federal space, and literally &lt;STRONG&gt;everything&lt;/STRONG&gt; is accessed via client PKI certificates.&amp;nbsp; This means that when I write up python toolboxes that integrate with external (non-Esri) web services, a smartcard, .pfx or .p12 bundle is &lt;EM&gt;always&lt;/EM&gt; part of the authentication workflow.&lt;/P&gt;&lt;P&gt;As requests_pkcs12 is sort of the de facto solution for dead simple management of PKCS12, I end up having to have users pip install requests_pkcs12 alongside the main arcgispro-py3 conda instance.&lt;/P&gt;&lt;P&gt;So I would suggest the inverse of what you wrote:&amp;nbsp; if the package is only one ~150 line file, why couldn't Esri just include it along with all of the other extensions to requests that you already include?&amp;nbsp; Thanks for considering!&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 14:13:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/please-add-requests-pkcs12-to-arcpy/idc-p/1616016#M465</guid>
      <dc:creator>EricEagle</dc:creator>
      <dc:date>2025-05-19T14:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Please add requests_pkcs12 to arcpy</title>
      <link>https://community.esri.com/t5/python-ideas/please-add-requests-pkcs12-to-arcpy/idc-p/1616435#M466</link>
      <description>&lt;P&gt;Although I am not a fan of the Python Requests library, I will second&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/171761"&gt;@EricEagle&lt;/a&gt;&amp;nbsp;'s comment that support for PKCS#12 in general is very important.&amp;nbsp; It doesn't matter how good software is today in the enterprise if it doesn't have robust support for a range of authentication and access mechanisms.&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 13:07:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/please-add-requests-pkcs12-to-arcpy/idc-p/1616435#M466</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2025-05-20T13:07:15Z</dc:date>
    </item>
  </channel>
</rss>

