oracle/oci-typescript-sdk

pass phrase prompting when using ConfigFileAuthenticationDetailsProvider

roeycohen opened this issue · 3 comments

Hi.

When using ConfigFileAuthenticationDetailsProvider, is it possible to pass the passphrase from the user's input?

from the code it seems the passphrase should be set in the config file...

const passPhrase = file.get("pass_phrase");

but that would be less secure comparing to the user is typing it in the prompt when possible.

Thanks!

Hi @roeycohen I don't think there is a prompt to ask passphrase while running the program.

hi @jyotisaini indeed there isn't.
But I'd like to type the passphrase myself and pass it to the ConfigFileAuthenticationDetailsProvider...