Type Alias: Secret<T>
ts
type Secret<T> = T | (() => T | Promise<T>);Defined in: netconf/src/transport/ssh.ts:27
A secret, or a function that supplies it when connecting (so it needn't sit in memory).
Type Parameters
T
T