<?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 ArcGIS Server getToken Encrypted Password with Python in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-gettoken-encrypted-password-with/m-p/550343#M21254</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to fetch an ArcGIS Server token with a python script and an encrypted password. I have it working nicely with plain text, but I'd rather avoid this method since using passwords in plaintext is always a bad idea, even on a server side script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The arcgis server generate token page has a certain functionality that encrypts the password using javascript before its sent to the server. It uses the arcgis server public key/modulus to create an encrypted string. Then it passes encrypted=true and the encrypted data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to replicate this function in my python script. However, I cannot find any documentation on this encryption technique anywhere. Has anyone dealt with this situation before or know of any resources available to figuring it out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2016 16:22:31 GMT</pubDate>
    <dc:creator>roemhildtg</dc:creator>
    <dc:date>2016-10-18T16:22:31Z</dc:date>
    <item>
      <title>ArcGIS Server getToken Encrypted Password with Python</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-gettoken-encrypted-password-with/m-p/550343#M21254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to fetch an ArcGIS Server token with a python script and an encrypted password. I have it working nicely with plain text, but I'd rather avoid this method since using passwords in plaintext is always a bad idea, even on a server side script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The arcgis server generate token page has a certain functionality that encrypts the password using javascript before its sent to the server. It uses the arcgis server public key/modulus to create an encrypted string. Then it passes encrypted=true and the encrypted data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to replicate this function in my python script. However, I cannot find any documentation on this encryption technique anywhere. Has anyone dealt with this situation before or know of any resources available to figuring it out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 16:22:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-gettoken-encrypted-password-with/m-p/550343#M21254</guid>
      <dc:creator>roemhildtg</dc:creator>
      <dc:date>2016-10-18T16:22:31Z</dc:date>
    </item>
  </channel>
</rss>

