<?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 Rotating API Keys in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/rotating-api-keys/m-p/1693884#M13908</link>
    <description>&lt;P&gt;Hello:&lt;BR /&gt;Wondering if folks out there have switched over to "rotating API keys" for their MAUI/iOS/Android applications, especially for any public-facing applications? Are you asking users to sign in to AGOL (for public-facing applications, I couldn't imagine this being likely)? Or perhaps, you have a 'subscription service' and ask users to sign into your service first. Then, once signed in, you can pass back the key?&lt;BR /&gt;&lt;BR /&gt;How are you storing the key:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;On users devices in code (or JSON),&lt;UL&gt;&lt;LI&gt;Are you 'obfuscating your code? If so, what Obfuscation product are you using? Does the obfuscation make the code unstable, or has it been flawless? Do you think it does a sufficient job of hiding the key value?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;On users devices, in Secure Storage&lt;UL&gt;&lt;LI&gt;If so, how do you get the API Key to the device?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Obtain it from Server&lt;UL&gt;&lt;LI&gt;Once obtained, do you store it somewhere on the device?&lt;/LI&gt;&lt;LI&gt;How do you have users access it?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Other method&lt;UL&gt;&lt;LI&gt;Please expand on this.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks for any insight on this. We're looking at options right now, and it'll be helpful to know how others are dealing with this.&amp;nbsp; The Legacy keys expire in June, 2026, so need to figure this out fairly quickly.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2026 13:02:05 GMT</pubDate>
    <dc:creator>KarenRobine1</dc:creator>
    <dc:date>2026-04-01T13:02:05Z</dc:date>
    <item>
      <title>Rotating API Keys</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/rotating-api-keys/m-p/1693884#M13908</link>
      <description>&lt;P&gt;Hello:&lt;BR /&gt;Wondering if folks out there have switched over to "rotating API keys" for their MAUI/iOS/Android applications, especially for any public-facing applications? Are you asking users to sign in to AGOL (for public-facing applications, I couldn't imagine this being likely)? Or perhaps, you have a 'subscription service' and ask users to sign into your service first. Then, once signed in, you can pass back the key?&lt;BR /&gt;&lt;BR /&gt;How are you storing the key:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;On users devices in code (or JSON),&lt;UL&gt;&lt;LI&gt;Are you 'obfuscating your code? If so, what Obfuscation product are you using? Does the obfuscation make the code unstable, or has it been flawless? Do you think it does a sufficient job of hiding the key value?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;On users devices, in Secure Storage&lt;UL&gt;&lt;LI&gt;If so, how do you get the API Key to the device?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Obtain it from Server&lt;UL&gt;&lt;LI&gt;Once obtained, do you store it somewhere on the device?&lt;/LI&gt;&lt;LI&gt;How do you have users access it?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Other method&lt;UL&gt;&lt;LI&gt;Please expand on this.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks for any insight on this. We're looking at options right now, and it'll be helpful to know how others are dealing with this.&amp;nbsp; The Legacy keys expire in June, 2026, so need to figure this out fairly quickly.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2026 13:02:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/rotating-api-keys/m-p/1693884#M13908</guid>
      <dc:creator>KarenRobine1</dc:creator>
      <dc:date>2026-04-01T13:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating API Keys</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/rotating-api-keys/m-p/1698109#M13910</link>
      <description>&lt;P&gt;Thanks for the question Karen. We're actively looking into the topics you asked. We'll share when we come up with a cohesive plan.&lt;/P&gt;&lt;P&gt;A few notes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Each operating system provides some different mechanisms for a) deliver a key from a server to the device, and b) securely storing the key locally*. Our first step is to figure out what is the most suitable way on each platform, and eventually (hopefully) combining them into a platform-agnostic set of methods for all products.&lt;UL&gt;&lt;LI&gt;*For instance, iOS has iCloud Keychain, Android has Keystore.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Different platforms provide different obfuscation methods. Some platforms obfuscate the app by default in release mode (for example, iOS apps), while some may not.&lt;UL&gt;&lt;LI&gt;Me personally would encourage using existing libraries for obfuscation, if your target platform doesn't have obfuscation already.&lt;/LI&gt;&lt;LI&gt;Because the plain-text API key is included in the request to an ArcGIS service, obfuscation doesn't have any effect if the request is hijacked/sniffed. Methods like SSL pinning can further reduce the risk of API key being leaked during transfer.&lt;/LI&gt;&lt;LI&gt;This applies to both the legacy API keys and the new keys moving forward, so not essentially part of the rotating the key discussion.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;While we are working on it, one interim option is to create a new key with a longer expiration period. The maximum expiration period for an API key is 1 year.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Stay tuned for our future updates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2026 20:34:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/rotating-api-keys/m-p/1698109#M13910</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2026-04-23T20:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating API Keys</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/rotating-api-keys/m-p/1698118#M13911</link>
      <description>&lt;P&gt;Thanks for responding. We've reached out to some folks at ESRI and hope to hear back soon.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Another thing too: It would be nice if the .NET Maps SDK API supported 'referrers' in requests (ie. ArcGISPortal.CreateAsync(siteUri, referrer).&amp;nbsp; That could theoretically be used to provide a bit more security.&amp;nbsp;&lt;BR /&gt;And we will definitely change our API Key length to a longer length.&lt;BR /&gt;I'll respond as well if I get additional insight. Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2026 20:56:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/rotating-api-keys/m-p/1698118#M13911</guid>
      <dc:creator>KarenRobine1</dc:creator>
      <dc:date>2026-04-23T20:56:18Z</dc:date>
    </item>
  </channel>
</rss>

