File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,31 @@ export WECHATY_PUPPET_HOSTIE_TOKEN=your_token_at_here
52
52
make bot
53
53
```
54
54
55
+ #### New environment variables
56
+
57
+ <!-- markdownlint-disable MD013 -->
58
+
59
+ 1 . ` WECHATY_PUPPET_SERVICE_TLS_CA_CERT ` : can be overwrite by ` options.tlsRootCert ` . Set Root CA Cert to verify the server or client.
60
+
61
+ For Puppet Server:
62
+
63
+ | Environment Variable | Options | Description |
64
+ | -------------------- | ------- | ----------- |
65
+ | ` WECHATY_PUPPET_SERVICE_TLS_SERVER_CERT ` | ` options.tls.serverCert ` | Server CA Cert (string data) |
66
+ | ` WECHATY_PUPPET_SERVICE_TLS_SERVER_KEY ` | ` options.tls.serverKey ` | Server CA Key (string data) |
67
+ | ` WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_SERVER ` | ` options.tls.disable ` | Set ` true ` to disable server TLS |
68
+
69
+ For Puppet Client:
70
+
71
+ | Environment Variable | Options | Description |
72
+ | -------------------- | ------- | ----------- |
73
+ | ` WECHATY_PUPPET_SERVICE_AUTHORITY ` | ` options.authority ` | Service discovery host, default: ` api.chatie.io ` |
74
+ | ` WECHATY_PUPPET_SERVICE_TLS_CA_CERT ` | ` options.caCert ` | Certification Authority Root Cert, default is using Wechaty Community root cert |
75
+ | ` WECHATY_PUPPET_SERVICE_TLS_SERVER_NAME ` | ` options.serverName ` | Server Name (mast match for SNI) |
76
+ | ` WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_CLIENT ` | ` options.tls.disable ` | Set ` true ` to disable client TLS |
77
+
78
+ > Learn more about tls at https://github.com/wechaty/puppet-service
79
+
55
80
## Wechaty Getting Started in Multiple Languages
56
81
57
82
- [ TypeScript Wechaty Getting Started] ( https://github.com/wechaty/wechaty-getting-started )
You can’t perform that action at this time.
0 commit comments