Open roeycohen opened 2 months ago
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...
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... https://github.com/oracle/oci-typescript-sdk/blob/e299503b1e94acb5e2ccc58be1cf172a5e7a75a6/lib/common/lib/auth/config-file-auth.ts#L120 but that would be less secure comparing to the user is typing it in the prompt when possible.
Thanks!