API Connect

 View Only
  • 1.  How to configure Global API Properties

    Posted Tue April 25, 2023 10:19 PM

    I have a requirement to Generate JWT Token with symmetric key in API Connect V10 . I Configured key in the catalog properties which i used in every API to generate JWT token but if i changed value of key. it is not reflecting at runtime  but when i redeploy apis , value is reflecting  the below are my questions

    1) is Catalog property static?  does it require redeployment of all API where this property is used, if we update value
    2) do we have any solution in apiconnect v10 to change values at runtime without redeploying apis.?



    ------------------------------
    santhoshkumar surisetty
    ------------------------------


  • 2.  RE: How to configure Global API Properties

    IBM Champion
    Posted Wed April 26, 2023 11:35 AM

    Hi Santhoshkumar,

    answer on both questions or in the KC.
    1/ https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=sap-defining-catalog-specific-property-values 

    Tip: If you add or change an API property on an API that is already staged or published, you must re-stage or re-publish the Product that contains the updated API for the change to take effect.

    2/ https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=policies-generate-jwt

    you can use a DataPower Crypto Object




    ------------------------------
    Jeroen Willems
    Integration Architect - Managing Partner
    Integration Designers
    ------------------------------



  • 3.  RE: How to configure Global API Properties

    Posted Mon May 01, 2023 08:47 AM

    As Jeroen Willems stated, the DataPower Crypto Object is the better solution. If your DataPower is a Linux VM, OVA or Physical appliance, you can use the WebGUI or CLI to define the crypto object. If your DataPower is on Openshift or K8s, you can use the steps in section "JWT DataPower Crypto Key in apiconnect domain" of DataPower Config without WebGUI 



    ------------------------------
    Ravi Ramnarayan
    Technical Account Manager - Expertise Connect
    IBM
    ------------------------------