Read private key from string (not file)
We retrieve it as a string, where string the whole key.
WinSCP COM library only allows adding
SshPrivateKeyPath
in the SessionOptions
.
Now we don't want to write out the key in a text file, as that would beat the purpose of storing the key in to Azure Key Vault, for security reasons.
Is there a hidden way to load the key as a string or similar, and not a a physical file?
Azure Key Vault is client's requirement.