diff --git a/docs/pages/access-controls/access-request-plugins/ssh-approval-msteams.mdx b/docs/pages/access-controls/access-request-plugins/ssh-approval-msteams.mdx index 5dccb043cf33a..d1ca5815854dc 100644 --- a/docs/pages/access-controls/access-request-plugins/ssh-approval-msteams.mdx +++ b/docs/pages/access-controls/access-request-plugins/ssh-approval-msteams.mdx @@ -162,7 +162,7 @@ credentials and generate the Teams App package that will be used to install the Microsoft Teams App. You will also configure the plugin to notify the right Microsoft Teams users when it receives an Access Request update. -### Generate a config file and assets +### Generate a configuration file and assets Generate a configuration file for the plugin. The instructions depend on whether you are deploying the plugin on a virtual machine or Kubernetes: @@ -232,7 +232,7 @@ application UUID with each execution. It is not possible to use an `app.zip` and a TOML configuration generated by two different executions. -### Edit the config file +### Edit the configuration file Edit the configuration file according to the instructions below. @@ -246,7 +246,7 @@ cluster. #### `[msapi]`/`msTeams` - + Make sure the `app_id`, `app_secret`, `tenant_id`, and `teams_app_id` fields are filled in with the correct information, which you obtained earlier in this @@ -269,7 +269,7 @@ look up the role being requested and identify the Microsoft Teams users and chan notify. - + Here is an example of a `role_to_recipients` map: @@ -328,7 +328,7 @@ by adding the following to your `role_to_recipients` config (replace role earlier): - + ```toml [role_to_recipients] @@ -349,7 +349,7 @@ roleToRecipients: The final configuration file should resemble the following: - + ```toml (!examples/resources/plugins/teleport-msteams.toml!) ``` @@ -457,6 +457,14 @@ DEBU Watcher connected watcherjob/watcherjob.go:121 INFO Plugin is ready msteams/app.go:227 ``` + + +Run the plugin: + +```code +$ docker run -v :/etc/teleport-msteams.toml public.ecr.aws/gravitational/teleport-plugin-msteams:(=teleport.version=) start +``` + Install the plugin: