<?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>Question Re: Consume s3 Connections property inside Python3 operator in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/consume-s3-connections-property-inside-python3-operator/qaa-p/12484783#M4677675</link>
    <description>&lt;P&gt;Hi Samarth,&lt;/P&gt;&lt;P&gt;This link &lt;A href="https://help.sap.com/viewer/1c1341f6911f4da5a35b191b40b426c8/Cloud/en-US/90037ee27fbc4194bc0b6c5f2d9e3e7b.html"&gt;Managed Connections in Script Operators&lt;/A&gt; maybe useful to you.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Dec 2021 05:49:01 GMT</pubDate>
    <dc:creator>andy_yin</dc:creator>
    <dc:date>2021-12-06T05:49:01Z</dc:date>
    <item>
      <title>Consume s3 Connections property inside Python3 operator</title>
      <link>https://community.sap.com/t5/technology-q-a/consume-s3-connections-property-inside-python3-operator/qaq-p/12484782</link>
      <description>&lt;P&gt;Hii,&lt;/P&gt;
  &lt;P&gt;I want to consume the properties/Parameter values which is already there in the connection management specifically for S3 bucket Access keys and secret access key.&lt;/P&gt;
  &lt;P&gt;I saw somewhere that we can do the same for HanaDB using api.config (Something like this).&lt;/P&gt;
  &lt;P&gt;The Use is when putting the objects inside s3, We have to provide Tags to those objects. Now I am currently doing it by hardcoding those values inside Python operator and and using Boto3 for the process. Now this is not recommended in further developments. &lt;/P&gt;
  &lt;P&gt;So If there is a way to consume those values from the connection that we have already made in Connection management for the same S3 bucket, then there won't be need of hardcoding values.&lt;/P&gt;
  &lt;P&gt;Hoping to hear some suggestions from the community!&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Samarth&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 05:23:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/consume-s3-connections-property-inside-python3-operator/qaq-p/12484782</guid>
      <dc:creator>former_member730080</dc:creator>
      <dc:date>2021-12-06T05:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Consume s3 Connections property inside Python3 operator</title>
      <link>https://community.sap.com/t5/technology-q-a/consume-s3-connections-property-inside-python3-operator/qaa-p/12484783#M4677675</link>
      <description>&lt;P&gt;Hi Samarth,&lt;/P&gt;&lt;P&gt;This link &lt;A href="https://help.sap.com/viewer/1c1341f6911f4da5a35b191b40b426c8/Cloud/en-US/90037ee27fbc4194bc0b6c5f2d9e3e7b.html"&gt;Managed Connections in Script Operators&lt;/A&gt; maybe useful to you.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 05:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/consume-s3-connections-property-inside-python3-operator/qaa-p/12484783#M4677675</guid>
      <dc:creator>andy_yin</dc:creator>
      <dc:date>2021-12-06T05:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Consume s3 Connections property inside Python3 operator</title>
      <link>https://community.sap.com/t5/technology-q-a/consume-s3-connections-property-inside-python3-operator/qaa-p/12484784#M4677676</link>
      <description>&lt;P&gt;Hey Andy,&lt;/P&gt;&lt;P&gt;Thanks for a showing direction.&lt;/P&gt;&lt;P&gt;I followed all steps showing in that link but i changed the Connection type from OPENAPI to S3. &lt;/P&gt;&lt;P&gt;I am monitoring the output at the wiretap but its showing no response.(No output)&lt;/P&gt;&lt;P&gt;Any idea what is the reason?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samarth&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 13:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/consume-s3-connections-property-inside-python3-operator/qaa-p/12484784#M4677676</guid>
      <dc:creator>former_member730080</dc:creator>
      <dc:date>2021-12-06T13:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Consume s3 Connections property inside Python3 operator</title>
      <link>https://community.sap.com/t5/technology-q-a/consume-s3-connections-property-inside-python3-operator/qaa-p/12484785#M4677677</link>
      <description>&lt;P&gt;Samarth,&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Check and verify if you S3 connection is in the returned list from &lt;A href="https://YOUR_DI_INSTANCE/app/datahub-app-connection/connections?connectionTypes=s3" target="test_blank"&gt;https://YOUR_DI_INSTANCE/app/datahub-app-connection/connections?connectionTypes=s3&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Check Status in connection manager to verify if your S3 connection is OK.&lt;/LI&gt;&lt;LI&gt;Try to change the code  host = managedConnectionProperties['host'] to host = managedConnectionProperties['endpoint'] if you did not do this previously.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Hope this helpful.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 03:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/consume-s3-connections-property-inside-python3-operator/qaa-p/12484785#M4677677</guid>
      <dc:creator>andy_yin</dc:creator>
      <dc:date>2021-12-07T03:59:06Z</dc:date>
    </item>
  </channel>
</rss>

