GitOps for k8s
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

keyring.go 323B

  1. package ssh
  2. // KeyRing is an abstraction providing access to a managed SSH key pair. Whilst
  3. // the public half is available in byte form, the private half is left on the
  4. // filesystem to avoid memory management issues.
  5. type KeyRing interface {
  6. KeyPair() (publicKey PublicKey, privateKeyPath string)
  7. Regenerate() error
  8. }