Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
562 changes: 0 additions & 562 deletions access/mattermost/app.go

This file was deleted.

432 changes: 0 additions & 432 deletions access/mattermost/bot.go

This file was deleted.

103 changes: 0 additions & 103 deletions access/mattermost/config.go

This file was deleted.

37 changes: 37 additions & 0 deletions access/mattermost/example_config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 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
#
# 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",
# "first.last@example.com"
# ]

[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".
Loading