<?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: MERAKI_API_KEY Environment Variable in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/meraki-api-key-environment-variable/m-p/5444663#M6973</link>
    <description>&lt;P&gt;It needs to be in the environment of the user executing the scripts that need it.&lt;/P&gt;&lt;P&gt;If you want it just for yourself, you could edit your .profile to add...&lt;/P&gt;&lt;PRE class="lia-code-sample language-python"&gt;&lt;CODE&gt;MERAKI_API_KEY="whatever it is"
export MERAKI_API_KEY&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If you will be running the Python scripts from inside a shell script wrapper (for instance if you were using cron to run the script periodically) you can put the same lines in the shell script.&lt;/P&gt;&lt;P&gt;At the linux shell prompt, you can type 'env' to see your environment.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Aug 2024 14:49:15 GMT</pubDate>
    <dc:creator>sungod</dc:creator>
    <dc:date>2024-08-23T14:49:15Z</dc:date>
    <item>
      <title>MERAKI_API_KEY Environment Variable</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-api-key-environment-variable/m-p/5444662#M6972</link>
      <description>&lt;P&gt;Good Morning!&lt;/P&gt;&lt;P&gt;Can someone tell me to proper way of setting the MERAKI_API_KEY environment variable in Linux? I get it set but everytime I reboot my system I loss it.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 14:24:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-api-key-environment-variable/m-p/5444662#M6972</guid>
      <dc:creator>Ed Roche</dc:creator>
      <dc:date>2024-08-23T14:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: MERAKI_API_KEY Environment Variable</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-api-key-environment-variable/m-p/5444663#M6973</link>
      <description>&lt;P&gt;It needs to be in the environment of the user executing the scripts that need it.&lt;/P&gt;&lt;P&gt;If you want it just for yourself, you could edit your .profile to add...&lt;/P&gt;&lt;PRE class="lia-code-sample language-python"&gt;&lt;CODE&gt;MERAKI_API_KEY="whatever it is"
export MERAKI_API_KEY&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If you will be running the Python scripts from inside a shell script wrapper (for instance if you were using cron to run the script periodically) you can put the same lines in the shell script.&lt;/P&gt;&lt;P&gt;At the linux shell prompt, you can type 'env' to see your environment.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 14:49:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-api-key-environment-variable/m-p/5444663#M6973</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2024-08-23T14:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: MERAKI_API_KEY Environment Variable</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-api-key-environment-variable/m-p/5444664#M6974</link>
      <description>&lt;P&gt;I personally prefer the ".env" method, which stores it in an environment file in your home directory.  This is also portable across lots of different environments.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.meraki.com/t5/Developers-APIs/A-newer-safer-way-to-access-the-dashboard-API/m-p/69602" target="_blank"&gt;https://community.meraki.com/t5/Developers-APIs/A-newer-safer-way-to-access-the-dashboard-API/m-p/69602&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Crap.  That article uses referenes to the old Meraki SDK - but the concept is still legit.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2024 08:41:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-api-key-environment-variable/m-p/5444664#M6974</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2024-08-25T08:41:15Z</dc:date>
    </item>
  </channel>
</rss>

