Property Key
- Namespace
- SshSharp.Extensions.DependencyInjection
- Assembly
- SshSharp.Extensions.DependencyInjection.dll
Key
The private key's text, as a key file holds it: OpenSSH (-----BEGIN OPENSSH PRIVATE KEY-----), PEM (PKCS#8, PKCS#1 or SEC1)
or PuTTY (.ppk), as Parse(string, string?) reads it. Bind it from a secret store, never from a checked-in file.
public string? Key { get; set; }