<?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: PROC S3: Error reading config file in separate file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-S3-Error-reading-config-file-in-separate-file/m-p/545209#M150793</link>
    <description>&lt;P&gt;I've logged on as one user (the linux user used to install and run SAS), and was able to navigate and cat the contents of my config file (which also contains access key, secret key, and security token information).&amp;nbsp; The permissions are 666, so reading the file should not be an issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, we plan on having most of our users log into SAS Studio by using the sasauth ldap method.&amp;nbsp; From my understanding, this will allow users to authenticate with SAS Studio by seeing if they can bind to an LDAP server, but will not actually create a linux system user on the instance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would this cause issues with trying to use PROC S3?&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2019 13:07:05 GMT</pubDate>
    <dc:creator>darwinwalters</dc:creator>
    <dc:date>2019-03-22T13:07:05Z</dc:date>
    <item>
      <title>PROC S3: Error reading config file in separate file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-S3-Error-reading-config-file-in-separate-file/m-p/545022#M150741</link>
      <description>&lt;DIV class="sasError"&gt;We're currently using SAS&amp;nbsp;9.04.01M5 with SAS Studio Basic 3.71, deployed on an EC2 instance.&amp;nbsp; Our instance has credentials stored in a location other than ~/.aws/config or ~/.aws/credentials.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;According to the PROC S3 documentation &lt;A href="https://documentation.sas.com/?docsetId=proc&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=p1bxmq7xu9hph8n17dmj32sdzoji.htm&amp;amp;locale=en" target="_self"&gt;(&lt;/A&gt;&lt;A href="https://documentation.sas.com/?docsetId=proc&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=n1volodm4xnj3xn1s99poiemcha2.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;https://documentation.sas.com/?docsetId=proc&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=n1volodm4xnj3xn1s99poiemcha2.htm&amp;amp;locale=en&lt;/A&gt;), we should be able to use&amp;nbsp;AWSCONFIG="&lt;SPAN class="xis-userSuppliedValue"&gt;AWS-CLI-file-path&lt;/SPAN&gt;" if our config file is not in ~/.aws/config.&lt;DIV class="xis-argumentDescription"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;Here is the code we are using to test S3 connectivity:&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;PROC S3 AWSCONFIG="/path/to/config";&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp; &amp;nbsp; list "/bucket-name";&lt;/DIV&gt;&lt;DIV class="sasError"&gt;run;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;However, we're running into the following errors:&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: The AWS configuration/credentials could not be read.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Value could not be placed into buffer provided.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;Has anyone encountered this problem before?&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;Thanks!&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Mar 2019 20:24:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-S3-Error-reading-config-file-in-separate-file/m-p/545022#M150741</guid>
      <dc:creator>darwinwalters</dc:creator>
      <dc:date>2019-03-21T20:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: PROC S3: Error reading config file in separate file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-S3-Error-reading-config-file-in-separate-file/m-p/545144#M150777</link>
      <description>&lt;P&gt;I'd log on to the AWS instance (using putty or similar) with the user id running the SAS process, and try to navigate to the config file location, and then display the config file with &lt;FONT face="courier new,courier"&gt;cat&lt;/FONT&gt;. That should detect any permission or pathname issues.&lt;/P&gt;
&lt;P&gt;To get your SAS user id, use&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%put &amp;amp;sysuserid.;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Mar 2019 07:18:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-S3-Error-reading-config-file-in-separate-file/m-p/545144#M150777</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-03-22T07:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: PROC S3: Error reading config file in separate file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-S3-Error-reading-config-file-in-separate-file/m-p/545209#M150793</link>
      <description>&lt;P&gt;I've logged on as one user (the linux user used to install and run SAS), and was able to navigate and cat the contents of my config file (which also contains access key, secret key, and security token information).&amp;nbsp; The permissions are 666, so reading the file should not be an issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, we plan on having most of our users log into SAS Studio by using the sasauth ldap method.&amp;nbsp; From my understanding, this will allow users to authenticate with SAS Studio by seeing if they can bind to an LDAP server, but will not actually create a linux system user on the instance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would this cause issues with trying to use PROC S3?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 13:07:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-S3-Error-reading-config-file-in-separate-file/m-p/545209#M150793</guid>
      <dc:creator>darwinwalters</dc:creator>
      <dc:date>2019-03-22T13:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: PROC S3: Error reading config file in separate file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-S3-Error-reading-config-file-in-separate-file/m-p/545700#M151022</link>
      <description>&lt;P&gt;SAS Studio uses an individual (non-pooled) workspace server, which needs a system user to work. AFAIK, there's still a shortcoming in the spawner so that it does not trigger the creation of home directory etc when a LDAP user uses a workspace server for the first time. Which means LDAP users need to log on to the system via commandline first.&lt;/P&gt;
&lt;P&gt;(note that this is &lt;EM&gt;my&lt;/EM&gt; current state of knowledge; the issue might have been fixed already, but I'm not working in a LDAP environment at the time)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The SAS install user MUST NOT be used to work with workspace servers, never ever.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 06:50:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-S3-Error-reading-config-file-in-separate-file/m-p/545700#M151022</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-03-25T06:50:18Z</dc:date>
    </item>
  </channel>
</rss>

