<?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: Win11 changing environment variables API key in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409742#M1761</link>
    <description>&lt;P&gt;I'm guessing you are storing it in a system variable? Take a look at this post, technically it's Linux but you should be able to store the variable somewhere else: &lt;A href="https://community.meraki.com/t5/Developers-APIs/MERAKI-API-KEY-Environment-Variable/m-p/246099#M11224" target="_blank"&gt;https://community.meraki.com/t5/Developers-APIs/MERAKI-API-KEY-Environment-Variable/m-p/246099#M11224&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jun 2025 15:14:33 GMT</pubDate>
    <dc:creator>mloraditch</dc:creator>
    <dc:date>2025-06-11T15:14:33Z</dc:date>
    <item>
      <title>Win11 changing environment variables API key</title>
      <link>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409741#M1760</link>
      <description>&lt;P&gt;I am using the Meraki Terraform provider to make changes to our Dashboards. We have one in Europe and one in China.  Every time I want to make a change I have to change my user environment variables API key, then reboot on Win11.  Does anyone know of a way to update API keys like this without having to do a reboot?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 13:31:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409741#M1760</guid>
      <dc:creator>halsteadj</dc:creator>
      <dc:date>2025-06-11T13:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Win11 changing environment variables API key</title>
      <link>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409742#M1761</link>
      <description>&lt;P&gt;I'm guessing you are storing it in a system variable? Take a look at this post, technically it's Linux but you should be able to store the variable somewhere else: &lt;A href="https://community.meraki.com/t5/Developers-APIs/MERAKI-API-KEY-Environment-Variable/m-p/246099#M11224" target="_blank"&gt;https://community.meraki.com/t5/Developers-APIs/MERAKI-API-KEY-Environment-Variable/m-p/246099#M11224&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 15:14:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409742#M1761</guid>
      <dc:creator>mloraditch</dc:creator>
      <dc:date>2025-06-11T15:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Win11 changing environment variables API key</title>
      <link>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409743#M1762</link>
      <description>&lt;P&gt;It's the environment variables for the user account rather than system.  Sadly that link doesn't help much I'm afraid.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 15:33:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409743#M1762</guid>
      <dc:creator>halsteadj</dc:creator>
      <dc:date>2025-06-11T15:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Win11 changing environment variables API key</title>
      <link>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409744#M1763</link>
      <description>&lt;P&gt;Here's a general document on how terraform uses variables: &lt;A href="https://spacelift.io/blog/how-to-use-terraform-variables#variable-substitution-using-cli-and-tfvars" target="_blank" rel="nofollow noopener noreferrer"&gt;https://spacelift.io/blog/how-to-use-terraform-variables#variable-substitution-using-cli-and-tfvars&lt;/A&gt; that also may help you adjust your runs and If not I have to imagine someone else will be able to answer more directly soon. &lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 15:41:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409744#M1763</guid>
      <dc:creator>mloraditch</dc:creator>
      <dc:date>2025-06-11T15:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Win11 changing environment variables API key</title>
      <link>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409745#M1764</link>
      <description>&lt;P&gt;I'm not familiar with &lt;SPAN&gt;Terraform, but check out dotenv.  That lets you persistently store API keys.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I did have a post about using it many years ago, but alas, it appears to have been archived now.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 19:16:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409745#M1764</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2025-06-11T19:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Win11 changing environment variables API key</title>
      <link>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409746#M1765</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can update environment variables in Windows 11 without rebooting your system. &lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;Open Command Prompt as an administrator.&lt;BR /&gt;Run the command setx API_KEY "your_new_api_key".&lt;BR /&gt;To refresh the environment variables, run the command refreshenv&lt;/P&gt;&lt;P&gt;&lt;A href="https://thecategorizer.com/windows/how-to-refresh-environment-variables-in-windows/#google_vignette" target="_blank" rel="nofollow noopener noreferrer"&gt;Refresh Environment Variables in Windows 11 (Without Reboot)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 20:57:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409746#M1765</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2025-06-11T20:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Win11 changing environment variables API key</title>
      <link>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409747#M1766</link>
      <description>&lt;P&gt;Boom.&lt;/P&gt;&lt;P&gt;&lt;A href="https://registry.terraform.io/providers/jrhouston/dotenv/latest/docs" target="_blank" rel="nofollow noopener noreferrer"&gt;https://registry.terraform.io/providers/jrhouston/dotenv/latest/docs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 22:58:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409747#M1766</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2025-06-11T22:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Win11 changing environment variables API key</title>
      <link>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409748#M1767</link>
      <description>&lt;P&gt;Thanks a lot for replying, using "refreshenv" after updating the API keys, then restarting my Visual Studio sorts this out.  Saves me a time consuming reboot!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 09:03:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409748#M1767</guid>
      <dc:creator>halsteadj</dc:creator>
      <dc:date>2025-06-12T09:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Win11 changing environment variables API key</title>
      <link>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409749#M1768</link>
      <description>&lt;P&gt;I had the same idea.  However the risk of leaking the API credentials to GitHub was too big with that approach, so opted for keeping API keys out of the actual Terraform files.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 14:51:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409749#M1768</guid>
      <dc:creator>halsteadj</dc:creator>
      <dc:date>2025-06-12T14:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Win11 changing environment variables API key</title>
      <link>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409750#M1769</link>
      <description>&lt;P&gt;hadn't considered PowerShell, thanks&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 15:05:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/win11-changing-environment-variables-api-key/m-p/5409750#M1769</guid>
      <dc:creator>halsteadj</dc:creator>
      <dc:date>2025-06-12T15:05:43Z</dc:date>
    </item>
  </channel>
</rss>

