fix(stream): initialize env and secret for TLS cert resolution (#12935)