<?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: Connecting to Qlik-cli client managed site in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2474170#M21037</link>
    <description>&lt;P&gt;Sure thing!&amp;nbsp; If you have any other issues feel free to ask!&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2024 13:21:25 GMT</pubDate>
    <dc:creator>mattdetwiler</dc:creator>
    <dc:date>2024-08-01T13:21:25Z</dc:date>
    <item>
      <title>Connecting to Qlik-cli client managed site</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2472789#M20997</link>
      <description>&lt;P&gt;First off if there is a way to connect to CM with Oauth?&amp;nbsp; That would be my first choice.&lt;/P&gt;
&lt;P&gt;The docs from qlik.dev have me going through setting up a virtual proxy jwt connection.&lt;/P&gt;
&lt;P&gt;- I'm not able to navigate to &lt;A href="https://mysite/jwt" target="_blank"&gt;https://mysite/jwt&lt;/A&gt; so I'm not sure if the virtual proxy is even working &lt;BR /&gt;- After generating the jwt token the docs seem to trail off and don't really go through a way of testing the setup&lt;BR /&gt;&lt;BR /&gt;I tried going through the qlik context init setup in qlik-cli but it doesn't seem to want to work for CM.&lt;BR /&gt;I tried manually setting the values in contexts.yml to see if I could set things up that way but I struck out there too.&lt;BR /&gt;&lt;BR /&gt;I have the SaaS side working and qlik-cli looks great on that side I just need to get over this bump for setting up the CM side and I can start migrating apps.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 20:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2472789#M20997</guid>
      <dc:creator>mattdetwiler</dc:creator>
      <dc:date>2024-07-24T20:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Qlik-cli client managed site</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2473074#M21002</link>
      <description>&lt;P&gt;So this was about a week of head banging, but for the sake of humanity I hope this saves someone frustration.&amp;nbsp; IT WORKS!&lt;BR /&gt;&lt;BR /&gt;Start with the guide from Qlik, it's got most of what you need:&lt;BR /&gt;&lt;A href="https://qlik.dev/toolkits/qlik-cli/qlik-cli-qrs-get-started/" target="_blank"&gt;https://qlik.dev/toolkits/qlik-cli/qlik-cli-qrs-get-started/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;A few notes that I wish that document included:&lt;BR /&gt;&lt;BR /&gt;1. Key Generation&lt;BR /&gt;&amp;nbsp; - If OpenSSL doesn't work use Putty's keygen (part of putty) to generate and save both a public and private key &lt;BR /&gt;&amp;nbsp; - The public key will go into the "JWT certificate" field of the virutal proxy. (You can keep the beginning and end tags)&lt;/P&gt;
&lt;P&gt;2. JWT Virtual Proxy&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Creates a new endpoint on your server:&amp;nbsp; &lt;A href="https://yourqlikserver.com/jwt" target="_blank"&gt;https://yourqlikserver.com/jwt&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - For JWT virtual proxy attributes:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - User ID: Use userid (a variable name, not the actual user ID).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - User Directory: Use userdirectory (a variable name).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Intended Audience: Choose a unique value for your environment.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Load balancing: Use your central node&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Allowed Hosts: In the advanced section, add your site URL (e.g., &lt;A href="https://yourqlikserver.com" target="_blank"&gt;https://yourqlikserver.com&lt;/A&gt;). If incorrect, you'll get a 400 error instead of a 401 auth error when you test.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Proxies: Select a running proxy (your central node)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Note: applying restarts specified nodes and logs out all active users.&lt;/P&gt;
&lt;P&gt;3. Testing the setup&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -After applying changes, go to &lt;A href="https://yourqlikserver.com/jwt" target="_blank"&gt;https://yourqlikserver.com/jwt&lt;/A&gt;. A 401 error indicates a correct setup.&lt;/P&gt;
&lt;P&gt;4. JWT Token Generation&lt;/P&gt;
&lt;P&gt;At this point my method varies a bit from the qlik.dev doc&lt;/P&gt;
&lt;P&gt;I used &lt;A href="https://jwt.io" target="_blank"&gt;https://jwt.io&lt;/A&gt; to convert my signatures into a jwt token with the following settings:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - select RS256 as the algorythm&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - Replace the payload with:&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "audience": "&amp;lt;your intended audience value from the virtual proxy setup&amp;gt;",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "userid": "&amp;lt;your user id from Qlik qmc users&amp;gt;",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "userdirectory": "&amp;lt;your user directory from Qlik qmc users&amp;gt;"&lt;BR /&gt;}&lt;BR /&gt;- Add your public and private keys to populate the encoded text area.&lt;BR /&gt;- Copy the generated jwt token for use as a bearer token in Qlik-CLI&lt;/P&gt;
&lt;P&gt;5. Configuring Qlik-CLI contexts.yml&lt;BR /&gt;- Locate your contexts.yml file (e.g., C:\Users\myusername\.qlik\contexts.yml).&lt;BR /&gt;- Add the following entry to the file:&lt;/P&gt;
&lt;P&gt;current-context: qsecm&lt;BR /&gt;contexts:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; qsecm:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; headers: &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Authorization: Bearer &amp;lt;your generated jwt token&amp;gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; server: &lt;A href="https://yourqlikserver.com/jwt" target="_blank"&gt;https://yourqlikserver.com/jwt&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; server-type: windows&lt;/P&gt;
&lt;P&gt;Ensure proper tab spacing (might be easier to set up the SaaS connection first and copy the formatting)&lt;/P&gt;
&lt;P&gt;6. Testing the Connection:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Switch context in Qlik-CLI: qlik context use qsecm&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Test the new context with a command: qlik app ls&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - This should list all app IDs and names from your server&lt;BR /&gt;&lt;BR /&gt;That's it you are connected!&lt;/P&gt;
&lt;P&gt;If you encounter issues, double-check your configurations and keys.&lt;/P&gt;
&lt;P&gt;These are just my findings they come with no warranty and your mileage may very.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 22:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2473074#M21002</guid>
      <dc:creator>mattdetwiler</dc:creator>
      <dc:date>2024-07-25T22:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Qlik-cli client managed site</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2473227#M21006</link>
      <description>&lt;P&gt;Thanks for the feedback, and for sharing your solution! I'll add a task for us to review this article and see what we can improve.&lt;/P&gt;
&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 12:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2473227#M21006</guid>
      <dc:creator>Dave_Channon</dc:creator>
      <dc:date>2024-07-26T12:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Qlik-cli client managed site</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2473230#M21007</link>
      <description>&lt;P&gt;Another thing that may be useful to add to the CLI kit would be a PS script to export a single app by ID from CM and and another for the import into SaaS.&amp;nbsp; That way folks can test a tiny piece before turning on the fire hose.&lt;BR /&gt;&lt;BR /&gt;I also had trouble trying to figure out the "server-type" in the yml file.&amp;nbsp; I know the way I went about setting up that file wasn't traditional, but I could only found "windows" by trial and error and reading the error message in the terminal.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 13:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2473230#M21007</guid>
      <dc:creator>mattdetwiler</dc:creator>
      <dc:date>2024-07-26T13:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Qlik-cli client managed site</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2473307#M21013</link>
      <description>&lt;P&gt;I would recommend using JWT for any production work-flows as it programmatically works reliably whereas Windows auth is dependent on a session cookie which does expire, but for what it's worth, in a pitch, if you need to do some quick testing, you&amp;nbsp;&lt;EM&gt;can&lt;/EM&gt; use Windows auth. Example:&lt;/P&gt;
&lt;PRE&gt;qlik context create example --server https://&amp;lt;myserverurl.company.com&amp;gt; --server-type windows&lt;BR /&gt;qlik context use example&lt;BR /&gt;&amp;gt; Context: example&lt;BR /&gt;qlik context login example&lt;BR /&gt;&amp;gt; Using context 'example', with URL 'https://&amp;lt;myserverurl.company.com&amp;gt;'&lt;BR /&gt;&amp;gt; Enter Username (domain\user): &amp;lt;domain\userid&amp;gt;&lt;BR /&gt;&amp;gt; Enter Password:&lt;BR /&gt;qlik qrs app ls&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 18:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2473307#M21013</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2024-07-26T18:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Qlik-cli client managed site</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2474036#M21030</link>
      <description>&lt;P&gt;Matt, where do you create the payload file? Is this a separate '.yaml' file or something else?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 18:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2474036#M21030</guid>
      <dc:creator>aschmeelk</dc:creator>
      <dc:date>2024-07-31T18:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Qlik-cli client managed site</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2474037#M21031</link>
      <description>&lt;P&gt;So that payload is what you paste into the payload box in jwt.io.&amp;nbsp; It's basically what I have up there you just cut and paste the text (JSON?).&amp;nbsp; The values will be included when you create the token.&amp;nbsp; I'm not sure if you even need everything that I have up there but mine worked.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 18:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2474037#M21031</guid>
      <dc:creator>mattdetwiler</dc:creator>
      <dc:date>2024-07-31T18:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Qlik-cli client managed site</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2474133#M21035</link>
      <description>&lt;P&gt;Matt,&lt;/P&gt;
&lt;P&gt;Thanks for the quick response! Appreciate the clarification.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 10:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2474133#M21035</guid>
      <dc:creator>aschmeelk</dc:creator>
      <dc:date>2024-08-01T10:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Qlik-cli client managed site</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2474170#M21037</link>
      <description>&lt;P&gt;Sure thing!&amp;nbsp; If you have any other issues feel free to ask!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 13:21:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2474170#M21037</guid>
      <dc:creator>mattdetwiler</dc:creator>
      <dc:date>2024-08-01T13:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to Qlik-cli client managed site</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2495478#M21598</link>
      <description>&lt;P&gt;How do I generate qlik bearer token from the qmc&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 08:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Connecting-to-Qlik-cli-client-managed-site/m-p/2495478#M21598</guid>
      <dc:creator>Reuben_Madava</dc:creator>
      <dc:date>2024-12-02T08:44:54Z</dc:date>
    </item>
  </channel>
</rss>

