<?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: CF CLI Client Credentials for BTP in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/cf-cli-client-credentials-for-btp/qaa-p/12628630#M4737053</link>
    <description>&lt;P&gt;We also are dearly in need of the possibility to use the CF API with OAuth client credentials .&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2023 13:55:46 GMT</pubDate>
    <dc:creator>reinhard_jaeschke</dc:creator>
    <dc:date>2023-02-13T13:55:46Z</dc:date>
    <item>
      <title>CF CLI Client Credentials for BTP</title>
      <link>https://community.sap.com/t5/technology-q-a/cf-cli-client-credentials-for-btp/qaq-p/12628628</link>
      <description>&lt;P&gt;Hello experts, &lt;/P&gt;
  &lt;P&gt;My team is using CF CLI to automate some user management tasks in BTP, I wonder though if there is any way to generate a Client ID and Client Secret and avoid the usage of e-mail and password to authenticate these kinds of operations.&lt;/P&gt;
  &lt;P&gt;I notice through the CF CLI documentation available &lt;A href="https://cli.cloudfoundry.org/en-US/v6/auth.html"&gt;right here&lt;/A&gt;, that it is possible to authenticate these operations through client credentials using the command below. I don't know how to fetch the Client ID and Client Secret through our BTP Cockpit though.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;cf auth CLIENT_ID CLIENT_SECRET --client-credentials&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;We also tried to use the client credentials available through the usage of the Authentication and Trust Management Service just in case, but with no success.&lt;/P&gt;
  &lt;P&gt;I appreciate any inputs that might be provided!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 21:17:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cf-cli-client-credentials-for-btp/qaq-p/12628628</guid>
      <dc:creator>NickChecan</dc:creator>
      <dc:date>2022-10-12T21:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: CF CLI Client Credentials for BTP</title>
      <link>https://community.sap.com/t5/technology-q-a/cf-cli-client-credentials-for-btp/qaa-p/12628629#M4737052</link>
      <description>&lt;P&gt;Would also be interrested if there is an option to create the OAuth credentials for the CF API.&lt;/P&gt;&lt;P&gt;If you have an Identity Authentication instance configured to authenticate also cockpit users you can at least use users created in IAS instead of SAP ID Service.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 07:04:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cf-cli-client-credentials-for-btp/qaa-p/12628629#M4737052</guid>
      <dc:creator>gregorw</dc:creator>
      <dc:date>2022-10-13T07:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: CF CLI Client Credentials for BTP</title>
      <link>https://community.sap.com/t5/technology-q-a/cf-cli-client-credentials-for-btp/qaa-p/12628630#M4737053</link>
      <description>&lt;P&gt;We also are dearly in need of the possibility to use the CF API with OAuth client credentials .&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 13:55:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cf-cli-client-credentials-for-btp/qaa-p/12628630#M4737053</guid>
      <dc:creator>reinhard_jaeschke</dc:creator>
      <dc:date>2023-02-13T13:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: CF CLI Client Credentials for BTP</title>
      <link>https://community.sap.com/t5/technology-q-a/cf-cli-client-credentials-for-btp/qaa-p/12628631#M4737054</link>
      <description>&lt;P&gt;Instead of using client secrets, the recommendation is to configure an IAS tenant as custom platform IdP and authenticate using username/password.&lt;/P&gt;&lt;P&gt;We looked at the option for supporting clientid/secret, but it has to many shortcomings.&lt;/P&gt;&lt;P&gt;See &lt;A href="https://blogs.sap.com/2022/12/09/automation-with-the-btp-command-line-interface-logging-in-with-passcodes/" target="test_blank"&gt;https://blogs.sap.com/2022/12/09/automation-with-the-btp-command-line-interface-logging-in-with-passcodes/&lt;/A&gt; for a sample on how to use IAS for strong authentication to BTP CLI and CF CLI.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 19:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cf-cli-client-credentials-for-btp/qaa-p/12628631#M4737054</guid>
      <dc:creator>martijndeboer</dc:creator>
      <dc:date>2023-03-23T19:25:57Z</dc:date>
    </item>
  </channel>
</rss>

