We actually support either the keys in the environment or a filename. Take a look at the test/util/util.js file, getCertificateKey/getCertificate functions, you should probably follow that logic for this.