oracle/oci-typescript-sdk

How to get the value of an ORACLE Vault Secret?

Closed this issue · 2 comments

I would like to get the value of an Oracle Vault Secret from inside an Oracle Function .
Like this: in Java or this in Python

In the examples I find only one example, if I send the encrypted value as a request.
But in the above case the encrypted value is stored in the vault...

Hi @nochmu,
The TypeScript SDK's secret client should have this same API. Its the getSecretBundle API.
Here is an example https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.14.0/secrets/GetSecretBundle.ts.html

Have not heard from customer. Will close this issue. Please re-open this issue if you still have trouble. Thank you.