forked from gravitational/teleport
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include Machine ID instructions in plugin guides (gravitational#35429)
* Include Machine ID instructions in plugin guides Closes gravitational#15062 This change incorporates Machine ID instructions into how-to guides for Teleport plugins. The alternative was to write a separate guide for using Machine ID with plugins. However, the current how-to guides assume that the user is providing long-lived credentials via `tctl`, so it makes sense to modify the instructions in these guides. Otherwise, a user would need to get familiar with the Machine ID guide, then work out for themselves which parts of the how-to guides are relevant or not. - Use a partial for the initial plugin config as well as for a Machine ID prerequisite. - Add partial for providing identity files via Machine ID. - Edit impersonation partials to mention Machine ID. - Add a `refresh-plugin-identity.mdx` partial for configuring plugins to periodically refresh their identities. - Make Access Request plugin guides more consistent with how they use the identity-export.mdx partial. * Fix "susceptible" usage Responds to zmb3 feedback * Respond to strideynet feedback Change Event Handler instructions to mention the `teleport-refresh-enabled` flag instead of a config option. * Fix spelling issue
- Loading branch information
Showing
17 changed files
with
220 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
**Recommended:** Configure Machine ID to provide short-lived Teleport | ||
credentials to the plugin. Before following this guide, follow a Machine ID | ||
[deployment guide](../../machine-id/deployment.mdx) to run the `tbot` binary on | ||
your infrastructure. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
If you are providing credentials to the Event Handler using a `tbot` binary that | ||
runs on a Linux server, make sure the value of `identity` in the Event Handler | ||
configuration is the same as the path of the identity file you configured `tbot` | ||
to generate, `/opt/machine-id`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
If you are providing credentials to the plugin using a `tbot` binary that runs | ||
on a Linux server, make sure the value of `identity` is the same as the path of | ||
the identity file you configured `tbot` to generate, `/opt/machine-id`. | ||
|
||
Configure the plugin to periodically reload the identity file, ensuring that it | ||
does not attempt to connect to the Teleport Auth Service with expired | ||
credentials. | ||
|
||
Add the following to the `teleport` section of the configuration: | ||
|
||
```toml | ||
refresh_identity = true | ||
``` |
Oops, something went wrong.