<?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: client secret security for API interaction in SUGA</title>
    <link>https://communities.sas.com/t5/SUGA/client-secret-security-for-API-interaction/m-p/864938#M80</link>
    <description>&lt;P&gt;I have a 3-Tier (non-grid) Linux set up.&amp;nbsp; RHEL 7, SAS 9.4m6.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, yes, I have a metadata tier.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2023 17:29:46 GMT</pubDate>
    <dc:creator>Denise</dc:creator>
    <dc:date>2023-03-17T17:29:46Z</dc:date>
    <item>
      <title>client secret security for API interaction</title>
      <link>https://communities.sas.com/t5/SUGA/client-secret-security-for-API-interaction/m-p/864904#M78</link>
      <description>&lt;P&gt;I have followed the directions of Chris Hemedinger and Joseph Henry for retrieving the token needed for interacting with SharePoint and OneDrive.&amp;nbsp; I have an Azure API with a client secret.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to figure out how to best lock down the value of the client_secret and yet have it accessible to the users of my environment so that they can utilize the API calls from SAS to o365 SharePoint Online.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What is the recommended method to hide this value?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I thought of a %include, but that needs to be readable for their code to work.&amp;nbsp; I thought of burying a macro value but any savvy user would know %put &amp;amp;thesecret. ; in a SAS session would show the literal value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance for sharing your thoughts and experiences in this thread.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 15:54:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SUGA/client-secret-security-for-API-interaction/m-p/864904#M78</guid>
      <dc:creator>Denise</dc:creator>
      <dc:date>2023-03-17T15:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: client secret security for API interaction</title>
      <link>https://communities.sas.com/t5/SUGA/client-secret-security-for-API-interaction/m-p/864933#M79</link>
      <description>&lt;P&gt;Can you share any additional information about your SAS environment? version? platform? my first instinct would be looking at a metadata object. However, that would assume a SAS installation that included a metadata server.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 17:00:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SUGA/client-secret-security-for-API-interaction/m-p/864933#M79</guid>
      <dc:creator>PiRho1</dc:creator>
      <dc:date>2023-03-17T17:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: client secret security for API interaction</title>
      <link>https://communities.sas.com/t5/SUGA/client-secret-security-for-API-interaction/m-p/864938#M80</link>
      <description>&lt;P&gt;I have a 3-Tier (non-grid) Linux set up.&amp;nbsp; RHEL 7, SAS 9.4m6.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, yes, I have a metadata tier.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 17:29:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SUGA/client-secret-security-for-API-interaction/m-p/864938#M80</guid>
      <dc:creator>Denise</dc:creator>
      <dc:date>2023-03-17T17:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: client secret security for API interaction</title>
      <link>https://communities.sas.com/t5/SUGA/client-secret-security-for-API-interaction/m-p/883786#M83</link>
      <description>If you can use a user/password to authenticate, you can store that into an AuthDomain in your meta, and call your API through a "proc http" with an Authdomain parameter.&lt;BR /&gt;If the client ID is a parameter of the request, you can encapsulate your code (proc http or curl), into a stored compile AND secure macro :&lt;BR /&gt;%macro MP_MACRO / store secure ;&lt;BR /&gt;option NOMPRINT NOSYMBOLGEN ;&lt;BR /&gt;%local mv_secret ;&lt;BR /&gt;&lt;BR /&gt;proc http .....&lt;BR /&gt;&lt;BR /&gt;%mend ;&lt;BR /&gt;&lt;BR /&gt;with this, end users can not have the secret !</description>
      <pubDate>Thu, 06 Jul 2023 17:48:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SUGA/client-secret-security-for-API-interaction/m-p/883786#M83</guid>
      <dc:creator>Vincent35</dc:creator>
      <dc:date>2023-07-06T17:48:12Z</dc:date>
    </item>
  </channel>
</rss>

