Property PrivateKeys
- Namespace
- SshSharp.Extensions.DependencyInjection
- Assembly
- SshSharp.Extensions.DependencyInjection.dll
PrivateKeys
Private keys given as values instead of files (from environment variables, a mounted secret, Key Vault or user secrets), each with
its own optional passphrase. They are offered after PrivateKeyFiles, in order. Each is checked when the settings are
validated (at start with ValidateOnStart), and read again for each connection, which does not keep it after authenticating.
Cannot be combined with ConfigAlias.
public IList<SshEndpointPrivateKey> PrivateKeys { get; set; }