<?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 Re: Some questions about tokens - lifespan and uniqueness. in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/some-questions-about-tokens-lifespan-and/m-p/83470#M3242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam, I can't answer all your questions re: changing the length, but I do know how you can "cancel" or deactivate tokens.&amp;nbsp; However, it will break ALL that were generated for that server.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can be reversed if you decide that isn't what you want to do (as long as you keep a copy as I mention in step 2), but also reverses for ALL of the tokens.&amp;nbsp; (I did this on 10.2.2 and should work on 10.3 ...but can't guarantee prior)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Login to your ArcGIS Server Manager&amp;nbsp; &lt;A href="http://localhost:6080/arcgis/manager" title="http://localhost:6080/arcgis/manager"&gt;http://localhost:6080/arcgis/manager&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Go to Security, then edit the Token Settings. ---&amp;gt; I recommend keeping a copy of the Shared Key in notepad or a txt file, in case you need to reverse what you are about to do &amp;lt;---&lt;/LI&gt;&lt;LI&gt;if you change the Shared Key at all, all tokens based off the original key will break (probably need to restart the service).&amp;nbsp;&amp;nbsp;&amp;nbsp; For testing....just add or delete on character on the end...that will make it easier to restore if it doesn't work&amp;nbsp; .....btw, I recommend not testing on a production machine, if you have a choice.&lt;/LI&gt;&lt;LI&gt;If you need to reverse this, use the original (saved) Shared Key.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a related note, I know I was working on getting tokens to work about 6 months ago, and frustrated because in the creation dialog box I would give them a long life, and they were working.....next day or so, they weren't.&amp;nbsp; At least in 10.2.2, the shorter default value in the Edit Token Settings was overriding the value I was using when creating the token....and thus they were expiring before I expected.&amp;nbsp; Once we realized that (I was working with tech support) things worked better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll be interested if someone else can answer the rest of the questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Dec 2014 01:21:58 GMT</pubDate>
    <dc:creator>RebeccaStrauch__GISP</dc:creator>
    <dc:date>2014-12-17T01:21:58Z</dc:date>
    <item>
      <title>Some questions about tokens - lifespan and uniqueness.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/some-questions-about-tokens-lifespan-and/m-p/83468#M3240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the expiry date of a token encoded in the token itself? I'd like to make a single very long-lived token (say a year), then shut the lifespan of my tokens back down (to say, a week). Will this invalidate the long-lived token?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do tokens remain active until their expiry date, if I create a token with the same credentials, or will the earlier token become invalidated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I cancel a token?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I get a list of active tokens? Inactive ones?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 22:41:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/some-questions-about-tokens-lifespan-and/m-p/83468#M3240</guid>
      <dc:creator>SamJenkins1</dc:creator>
      <dc:date>2014-12-12T22:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Some questions about tokens - lifespan and uniqueness.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/some-questions-about-tokens-lifespan-and/m-p/83469#M3241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam&amp;nbsp;&amp;nbsp; You may want to edit your post and "Move" it to an appropriate Place or Space so that you will get your target audience...otherwise you will get answers out of context ie subway tokens don't expire&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 22:55:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/some-questions-about-tokens-lifespan-and/m-p/83469#M3241</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-12-12T22:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Some questions about tokens - lifespan and uniqueness.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/some-questions-about-tokens-lifespan-and/m-p/83470#M3242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sam, I can't answer all your questions re: changing the length, but I do know how you can "cancel" or deactivate tokens.&amp;nbsp; However, it will break ALL that were generated for that server.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can be reversed if you decide that isn't what you want to do (as long as you keep a copy as I mention in step 2), but also reverses for ALL of the tokens.&amp;nbsp; (I did this on 10.2.2 and should work on 10.3 ...but can't guarantee prior)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Login to your ArcGIS Server Manager&amp;nbsp; &lt;A href="http://localhost:6080/arcgis/manager" title="http://localhost:6080/arcgis/manager"&gt;http://localhost:6080/arcgis/manager&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Go to Security, then edit the Token Settings. ---&amp;gt; I recommend keeping a copy of the Shared Key in notepad or a txt file, in case you need to reverse what you are about to do &amp;lt;---&lt;/LI&gt;&lt;LI&gt;if you change the Shared Key at all, all tokens based off the original key will break (probably need to restart the service).&amp;nbsp;&amp;nbsp;&amp;nbsp; For testing....just add or delete on character on the end...that will make it easier to restore if it doesn't work&amp;nbsp; .....btw, I recommend not testing on a production machine, if you have a choice.&lt;/LI&gt;&lt;LI&gt;If you need to reverse this, use the original (saved) Shared Key.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a related note, I know I was working on getting tokens to work about 6 months ago, and frustrated because in the creation dialog box I would give them a long life, and they were working.....next day or so, they weren't.&amp;nbsp; At least in 10.2.2, the shorter default value in the Edit Token Settings was overriding the value I was using when creating the token....and thus they were expiring before I expected.&amp;nbsp; Once we realized that (I was working with tech support) things worked better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll be interested if someone else can answer the rest of the questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 01:21:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/some-questions-about-tokens-lifespan-and/m-p/83470#M3242</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2014-12-17T01:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Some questions about tokens - lifespan and uniqueness.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/some-questions-about-tokens-lifespan-and/m-p/83471#M3243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rebecca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a small enough number of long-lived tokens that changing the shared key would be an easy fix.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 20:45:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/some-questions-about-tokens-lifespan-and/m-p/83471#M3243</guid>
      <dc:creator>SamJenkins1</dc:creator>
      <dc:date>2014-12-17T20:45:13Z</dc:date>
    </item>
  </channel>
</rss>

