Currently ListenTlsOptions require a path to the cert and key files:
|
export interface ListenTlsOptions extends ListenOptions { |
|
/** Path to a file containing a PEM formatted CA certificate. Requires |
|
* `--allow-read`. */ |
|
certFile: string; |
|
/** Server public key file. Requires `--allow-read`.*/ |
|
keyFile: string; |
It would be great if these could be read from a variable.
So that these could be loaded from environment variables.
Currently
ListenTlsOptionsrequire a path to the cert and key files:deno/ext/net/lib.deno_net.d.ts
Lines 89 to 94 in b734143
It would be great if these could be read from a variable.
So that these could be loaded from environment variables.