Allow credentials to be set from base64 encoded envvar, instead of filesystem.

This commit is contained in:
Patrick Connolly
2018-10-08 17:55:20 +08:00
parent 7e1d9ed8c2
commit aac7cffbdf
2 changed files with 13 additions and 2 deletions

View File

@@ -97,6 +97,11 @@ See [howto](https://github.com/42wim/matterbridge/wiki/How-to-create-your-config
## Advanced configuration
* [matterbridge.toml.sample](https://github.com/42wim/matterbridge/blob/master/matterbridge.toml.sample) for documentation and an example.
* If you'd like to allow channels to be Google Translated between
languages, then simply set an environment variable called
`GOOGLE_APPLICATION_CREDENTIALS_BASE64` to be the base64 encoded version
of the JSON credentials file.
## Examples
### Bridge mattermost (off-topic) - irc (#testing)
```