mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-11 22:49:54 +00:00
* add Makefiles and access plugin binaries * lint + add version helper * consolidate access plugin Makefiles * add license
39 lines
1.5 KiB
TOML
39 lines
1.5 KiB
TOML
# example mattermost configuration TOML file
|
|
[teleport]
|
|
# Teleport Auth/Proxy Server address.
|
|
#
|
|
# Should be port 3025 for Auth Server and 3080 or 443 for Proxy.
|
|
# For Teleport Cloud, should be in the form "your-account.teleport.sh:443".
|
|
addr = "example.com:3025"
|
|
|
|
# Credentials.
|
|
#
|
|
# When using --format=file:
|
|
# identity = "/var/lib/teleport/plugins/mattermost/auth_id" # Identity file
|
|
# refresh_identity = true # Refresh identity file on a periodic basis.
|
|
#
|
|
# When using --format=tls:
|
|
# client_key = "/var/lib/teleport/plugins/mattermost/auth.key" # Teleport TLS secret key
|
|
# client_crt = "/var/lib/teleport/plugins/mattermost/auth.crt" # Teleport TLS certificate
|
|
# root_cas = "/var/lib/teleport/plugins/mattermost/auth.cas" # Teleport CA certs
|
|
|
|
[mattermost]
|
|
url = "https://mattermost.example.com" # Mattermost Server URL
|
|
token = "api-token" # Mattermost Bot OAuth token
|
|
|
|
# Notify recipients (optional)
|
|
#
|
|
# The value is an array of strings, where each element is either:
|
|
# - A channel name in the format 'team/channel', where / separates the
|
|
# name of the team and the name of the channel
|
|
# - The email address of a Mattermost user to notify via a direct message
|
|
# when the plugin receives an Access Request event
|
|
# recipients = [
|
|
# "my-team-name/channel-name",
|
|
# "[email protected]"
|
|
# ]
|
|
|
|
[log]
|
|
output = "stderr" # Logger output. Could be "stdout", "stderr" or "/var/lib/teleport/mattermost.log"
|
|
severity = "INFO" # Logger severity. Could be "INFO", "ERROR", "DEBUG" or "WARN".
|