1. Nilanjan Chatterjee
  2. PowerBuilder
  3. Thursday, 27 July 2023 08:31 AM UTC

Hi,

We are trying to connect to Azure AKV to retrieve certain key values stored in there from PowerBuilder 2019 R3. Can anyone suggest how we can do this.

Thanks in advance.

Nilanjan Chatterjee Accepted Answer Pending Moderation
  1. Monday, 31 July 2023 18:22 PM UTC
  2. PowerBuilder
  3. # 1

I have a client id and client secret and the AKV url. My id is also part of an ACL group to access the AKV url. How can I use these to connect and retrieve values from the AKV.

Comment
  1. Miguel Leeuwe
  2. Tuesday, 1 August 2023 02:33 AM UTC
As I said: "using the httpclient object in powerbuilder" and by looking at the link that I posted in previous answer. There should be loads of examples on how to call an API using httpclient on this same Q&A and in the powerbuilder help.

regards.
  1. Helpful
  1. Nilanjan Chatterjee
  2. Tuesday, 1 August 2023 06:51 AM UTC
Hi Miguel,



All the examples uses a token. But we dont have that facility as of now. We only have a client id and client secret, and an ACL group and the AKV url. I am not able to find HttpClient connecting to an url and authenticating via only client id and client secret. Could you please provide an example.

Thanks in advance!
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Thursday, 27 July 2023 08:36 AM UTC
  2. PowerBuilder
  3. # 2

I don't know anything about this, but it seems there's an API that you can call from powerbuilder, using httpclient.

https://www.c-sharpcorner.com/article/how-to-access-azure-key-vault-secrets-through-rest-api-using-postman/

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.