<?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 How to define libraries in a secure way in SAS VIYA3.5 SPRE? in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-define-libraries-in-a-secure-way-in-SAS-VIYA3-5-SPRE/m-p/764877#M22951</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Currently, we're in a migration process from SAS9.4M6 towards SAS VIYA3.5.&lt;/P&gt;&lt;P&gt;We're using SAS9.4 for several years now and we do use metadata extensively.&lt;BR /&gt;Most important are the SAS Library definitions in SAS Metadata.&lt;BR /&gt;These are pointing to DB2-databases ; authorizations are defined per SAS Library (groups/users imported from Active Directory) and 1 technical database user is defined per SAS Library.&lt;BR /&gt;Within SAS (SAS9.4M6), dataminers do use following code to access these SAS Libraries (DB2-databases) in a secure way :&lt;BR /&gt;LIBNAME myLib meta LIBRARY="DWH4_DB_DBSCHEMA";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In SAS VIYA3.5, one can only make use of these authorizations/pre-defined Libraries when using the CAS-server (define CAS Library).&lt;BR /&gt;How do you need to set these authorisations (+hide connection details for dataminers) when working only in VIYA SPRE (=SAS9.4 engine - no 'meta' engine available in SPRE)?&lt;BR /&gt;This will be always the first question when migrating AS IS code from SAS9.4-platform to VIYA-platform.&lt;BR /&gt;I assume not all SAS-code is CAS-enabled and will require SPRE-execution/authorisations.&lt;/P&gt;&lt;P&gt;Can you provide me some input/links to info on how to do this in SPRE?&lt;BR /&gt;Is this possible in SAS VIYA3.5?&lt;/P&gt;&lt;P&gt;Thanks in advance for your reply.&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Jurgen Lisabeth&lt;/P&gt;</description>
    <pubDate>Mon, 30 Aug 2021 15:20:47 GMT</pubDate>
    <dc:creator>jurlis</dc:creator>
    <dc:date>2021-08-30T15:20:47Z</dc:date>
    <item>
      <title>How to define libraries in a secure way in SAS VIYA3.5 SPRE?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-define-libraries-in-a-secure-way-in-SAS-VIYA3-5-SPRE/m-p/764877#M22951</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Currently, we're in a migration process from SAS9.4M6 towards SAS VIYA3.5.&lt;/P&gt;&lt;P&gt;We're using SAS9.4 for several years now and we do use metadata extensively.&lt;BR /&gt;Most important are the SAS Library definitions in SAS Metadata.&lt;BR /&gt;These are pointing to DB2-databases ; authorizations are defined per SAS Library (groups/users imported from Active Directory) and 1 technical database user is defined per SAS Library.&lt;BR /&gt;Within SAS (SAS9.4M6), dataminers do use following code to access these SAS Libraries (DB2-databases) in a secure way :&lt;BR /&gt;LIBNAME myLib meta LIBRARY="DWH4_DB_DBSCHEMA";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In SAS VIYA3.5, one can only make use of these authorizations/pre-defined Libraries when using the CAS-server (define CAS Library).&lt;BR /&gt;How do you need to set these authorisations (+hide connection details for dataminers) when working only in VIYA SPRE (=SAS9.4 engine - no 'meta' engine available in SPRE)?&lt;BR /&gt;This will be always the first question when migrating AS IS code from SAS9.4-platform to VIYA-platform.&lt;BR /&gt;I assume not all SAS-code is CAS-enabled and will require SPRE-execution/authorisations.&lt;/P&gt;&lt;P&gt;Can you provide me some input/links to info on how to do this in SPRE?&lt;BR /&gt;Is this possible in SAS VIYA3.5?&lt;/P&gt;&lt;P&gt;Thanks in advance for your reply.&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Jurgen Lisabeth&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 15:20:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-define-libraries-in-a-secure-way-in-SAS-VIYA3-5-SPRE/m-p/764877#M22951</guid>
      <dc:creator>jurlis</dc:creator>
      <dc:date>2021-08-30T15:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to define libraries in a secure way in SAS VIYA3.5 SPRE?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-define-libraries-in-a-secure-way-in-SAS-VIYA3-5-SPRE/m-p/765009#M22953</link>
      <description>&lt;P&gt;You can create an authentication domain for USER/PASSWORD, assign access to the domain for the Groups or Users&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS Env Manager -&amp;gt; Domains -&amp;gt; New -&amp;gt; Select name, users and groups with access to the domain, database USER and PASSWORD&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the libname connection you should use the physical connection with predefined Authdomain. I'll give you example of Oracle, it should be the same logic for other databases:&lt;/P&gt;
&lt;P&gt;libname v9ora oracle authdomain="&amp;lt;created authdomain name&amp;gt;" PATH="&amp;lt;path to oracle&amp;gt;";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;using libname v9ora you use pass-through queries and any kind of other SPRE code&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 09:34:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-define-libraries-in-a-secure-way-in-SAS-VIYA3-5-SPRE/m-p/765009#M22953</guid>
      <dc:creator>idziemianczyk</dc:creator>
      <dc:date>2021-08-31T09:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to define libraries in a secure way in SAS VIYA3.5 SPRE?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-define-libraries-in-a-secure-way-in-SAS-VIYA3-5-SPRE/m-p/765416#M22958</link>
      <description>&lt;P&gt;Thanks dandycomp, this seems to work in VIYA SPRE.&lt;/P&gt;&lt;P&gt;I never used an authentication domain before.&lt;/P&gt;&lt;P&gt;After creating new Domain and set the correct Authorisation group on this domain, as being member of this authorisation group I can access the LIBNAME as :&lt;/P&gt;&lt;P&gt;libname test db2 authdomain="SCHULDERAuth"&amp;nbsp; Datasrc=SCHULDER&amp;nbsp; SCHEMA=DWSCHULDEN;&lt;/P&gt;&lt;P&gt;When not being member of the authorisation group on this domain, no access is allowed.&lt;/P&gt;&lt;P&gt;in code :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE:&amp;nbsp; Credential could not be obtained from Viya credentials service.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;WARNING: No login information was available for authdomain SCHULDERAuth.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 15:48:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-define-libraries-in-a-secure-way-in-SAS-VIYA3-5-SPRE/m-p/765416#M22958</guid>
      <dc:creator>jurlis</dc:creator>
      <dc:date>2021-09-01T15:48:54Z</dc:date>
    </item>
  </channel>
</rss>

