Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-7623

Setting Applications client_id and client_secret with Toolbox

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Obsolete
    • Minor
    • None
    • 2.10 GA, 2.12.0 GA, 2.11.3 GA
    • Toolbox
    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • 0
    • 0% 0%

    Description

      Currently, when using the "3scale application create/apply" toolbox command for applications to both create and update applications it's not possible passing custom values to the parameters client_id and client_secret. Due to this limitation customers are not able to set these both values when using the 3scale Jenkins shared library.

      As workaround, but only for Toolbox and not when using the Jenkins shared library, we can use the 3scale application apply command as:

       

      podman run toolbox 3scale application apply --application-key=<CUSTOM_CLIENT_SECRET> --name=<APP_NAME> https://<ACCESS_KEY>@<ADMIN_PORTAL_DOMAIN> <APPLICATION> --plan=<PLAN_ID> --service=<SERVICE_ID> --account=<ACCOUNT_ID> 
      

      Then the client_secret will be set with the value of "--application-key=<CUSTOM_CLIENT_SECRET>" and the client_id will be set with the value of <APPLICATION>. This workaround will be valid only when the Application doesn't exist.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gpereira@redhat.com Gustavo Pereira
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: