IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Facing Issue while implementing Get call

    Posted yesterday

    Hi All, I am facing issue while implementing Get call to fetch a secret from Azure Key Vault with Bearer Token

    Below is the command I have used., please suggest if any change needed.

    GET("HTTP","-TV -URL https://<keyvault>.vault.azure.net/secrets/<secret-name>?api-version=7.4 -METHOD GET", "Authorization: Bearer" + " " + "qwudkwu8skllll....")

    I am able to fetch the access token by another POST call but while fetching the secret, I'm getting below error, though the Bearer token is sent.

    AKV10000:Request is missing a Bearer or PoP token

    ITX Version : 11.0.1

    Best Regards

    Bhanu



    ------------------------------
    Bhanu Prakash
    ------------------------------


  • 2.  RE: Facing Issue while implementing Get call

    Posted 9 hours ago

    Looks like a couple of things could be wrong from my understanding:

    1) Call should be HTTPS

    2) Authentication: Bearer information should be passed using -HDR since it belongs in the header of the API call.

    IBM Help page for reference...

    https://www.ibm.com/docs/en/ste/11.0.1?topic=adapter-http-commands

    Also, make sure you have the http adapter patch that was released.  Also - it looks like you may have exposed some of your auth token in your post - so if you can edit that to XXXXXXXX or something you probably should,

    Hope this helps!  Happy mapping! 

    Lisa



    ------------------------------
    Lisa Edwards
    Software Engineer / Subject Matter Expert
    Rainbow Data Systems, Inc
    ------------------------------