<?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 Update QLIK Data Connection of type Amazon S3 with new IAM Access key and Secret Key using QLIK Rest API in Reporting Service &amp; Alerting</title>
    <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Update-QLIK-Data-Connection-of-type-Amazon-S3-with-new-IAM/m-p/2462606#M1059</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I have a requirement to update QLIK Data connection of type Amazon S3 using QLIK API through an automated script.&lt;/P&gt;
&lt;P&gt;We rotate our IAM access keys every 90 days. So, we have to update our QLIK Amazon S3 Data connection automatically using API calls for every 90 days.&lt;/P&gt;
&lt;P&gt;I have followed QLIK API documentation and able to list connections in QLIK using API key. I have got all the parameters from the output of this.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
      "created": "2024-06-12T12:58:41.613Z",
      "datasourceID": "File_AmazonS3Connector",
      "id": "id",
      "links": {
        "self": {
          "href": "qlik-uri"
        }
      },
      "privileges": [
        "change_owner",
        "change_space",
        "delete",
        "list",
        "read",
        "update"
      ],
      "qArchitecture": 0,
      "qConnectStatement": "connect-statement",
      "qCredentialsID": "id",
      "qEngineObjectID": "OID",
      "qID": "Qid",
      "qLogOn": 1,
      "qName": "Amazon_S3",
      "qSeparateCredentials": false,
      "qType": ".exe",
      "qri": "s3-uri",
      "tags": null,
      "tenant": "tenant",
      "updated": "2024-06-12T12:58:41.613Z",
      "user": "user",
      "version": "V1"
    }&lt;/LI-CODE&gt;
&lt;P&gt;Tried multiple ways to make API call using CURL requests to update Data connection of type Amazon S3.&lt;/P&gt;
&lt;P&gt;But not able to edit the Data connection passing access key and secret key to it. Tried to pass them to qConnectionSecret parameter in API call. But it isn't working.&lt;/P&gt;
&lt;P&gt;I am getting Bad request error with error code:400&lt;/P&gt;
&lt;P&gt;Please help me with curl command for the above requirement. Thanks in advance!!&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2024 12:58:29 GMT</pubDate>
    <dc:creator>Pratap_kota</dc:creator>
    <dc:date>2024-06-14T12:58:29Z</dc:date>
    <item>
      <title>Update QLIK Data Connection of type Amazon S3 with new IAM Access key and Secret Key using QLIK Rest API</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Update-QLIK-Data-Connection-of-type-Amazon-S3-with-new-IAM/m-p/2462606#M1059</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I have a requirement to update QLIK Data connection of type Amazon S3 using QLIK API through an automated script.&lt;/P&gt;
&lt;P&gt;We rotate our IAM access keys every 90 days. So, we have to update our QLIK Amazon S3 Data connection automatically using API calls for every 90 days.&lt;/P&gt;
&lt;P&gt;I have followed QLIK API documentation and able to list connections in QLIK using API key. I have got all the parameters from the output of this.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
      "created": "2024-06-12T12:58:41.613Z",
      "datasourceID": "File_AmazonS3Connector",
      "id": "id",
      "links": {
        "self": {
          "href": "qlik-uri"
        }
      },
      "privileges": [
        "change_owner",
        "change_space",
        "delete",
        "list",
        "read",
        "update"
      ],
      "qArchitecture": 0,
      "qConnectStatement": "connect-statement",
      "qCredentialsID": "id",
      "qEngineObjectID": "OID",
      "qID": "Qid",
      "qLogOn": 1,
      "qName": "Amazon_S3",
      "qSeparateCredentials": false,
      "qType": ".exe",
      "qri": "s3-uri",
      "tags": null,
      "tenant": "tenant",
      "updated": "2024-06-12T12:58:41.613Z",
      "user": "user",
      "version": "V1"
    }&lt;/LI-CODE&gt;
&lt;P&gt;Tried multiple ways to make API call using CURL requests to update Data connection of type Amazon S3.&lt;/P&gt;
&lt;P&gt;But not able to edit the Data connection passing access key and secret key to it. Tried to pass them to qConnectionSecret parameter in API call. But it isn't working.&lt;/P&gt;
&lt;P&gt;I am getting Bad request error with error code:400&lt;/P&gt;
&lt;P&gt;Please help me with curl command for the above requirement. Thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 12:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Update-QLIK-Data-Connection-of-type-Amazon-S3-with-new-IAM/m-p/2462606#M1059</guid>
      <dc:creator>Pratap_kota</dc:creator>
      <dc:date>2024-06-14T12:58:29Z</dc:date>
    </item>
  </channel>
</rss>

