Hi Holger, Yes this makes sense, just doesn't give us much room for supporting tokens over username/password pairs.
We will need to setup another separate secure mechanism to support this. Simon. On Monday, 20 June 2022 at 14:06:11 UTC+10 Holger Knublauch wrote: > The API does not offer a function to retrieve securely stored passwords as > a string. This would IMHO violate the whole point of having secure storage, > which is to encapsulate the password logic within Java code. > > Holger > > > On 2022-06-20 2:00 pm, Simon Thompson wrote: > > Hi Holger, > > I have tested this, and am not sure this will work, when working with OKTA > tokens, you need to pass the client_id and client_secret in the body (data) > of the request, so while I am using the IO.http() function in this case I > don't actually need a username and password for the URL per se. > > I would like to be able to retrieve the password (secret) and then pass it > as data to the auth server to get a token. > > Simon. > > > On Monday, 20 June 2022 at 12:02:13 UTC+10 Holger Knublauch wrote: > >> Hi Simon, >> >> if you use IO.http() to connect to a remote service, you should be able >> to use the argument securePasswordURL, which needs to start with one of the >> known URLs in secure storage. See the Script API panel's documentation or >> mouse-over IO.http() in the editor. Would this work for you or how else >> would you want to access the passwords? >> >> Holger >> >> >> On 2022-06-20 11:44 am, Simon Thompson wrote: >> >> Hi All, >> >> Has anyone used the the internal EDG password manager to manage secrets >> within ADS scripts? I am trying to manage OKTA client secrets so that can >> query/etc other servers within the environment, without having to hardcode >> them into functions. >> >> Simon. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "TopBraid Suite Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/topbraid-users/ae585c92-5a4c-4cb3-93d6-814a6d2190f2n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/topbraid-users/ae585c92-5a4c-4cb3-93d6-814a6d2190f2n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> -- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/b10d3b66-07db-4596-8aa9-5d89fe792480n%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/b10d3b66-07db-4596-8aa9-5d89fe792480n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/cc8c5f22-1c81-4f90-9549-d8f410c588c8n%40googlegroups.com.
