Commit Graph
25 Commits
Author SHA1 Message Date
Alex Fornuto ea106eae80 test keyword frontmatter (#22145) 2023-03-03 19:44:34 +00:00
Paul GottschlingandAlex Fornuto da0e53ecdb Reorganize the config reference (#21594)
* Reorganize the config reference

Closes #11253

This change breaks up the config reference by moving each Teleport
service's configuration settings into a separate YAML snippet, and
organizing each YAML snippet into a `TabItem` within a `Tabs` with
`dropdownView` enabled. When Teleport Enterprise Cloud doesn't support a
service, this change adds a `Notice` with a message about Teleport
Enterprise Cloud in the relevant `TabItem`.

I thought this approach would be cleaner than alternatives:

- **Including an H2 for each service:** With this approach, the
  configuration reference would be even longer than it is now. With the
  approach I'm proposing, readers would navigate to "Reference
  configurations", then choose a service from a dropdown menu: much less
  scrolling for slightly more clicking.

- **Including another set of `TabItem`s for Teleport editions:** I
  thought about adding a `Tabs` with a dropdown option for each Teleport
  edition and a horizontal `TabItem` for each service, but this would
  require horizontal scrolling and doesn't scale very well.

- **Including horizontal tabs for each Teleport edition**, with an inner
  dropdown menu for each Teleport service: There is currently no way to
  do this without multiple `Tabs` components, which gets messy quickly.

**Note** that this change does not attempt to copy-edit comments/example
values within the configuration snippets. The scope of this change is
limited only to reorganization.

* Respond to PR feedback

* Update docs/pages/includes/config-reference/instance-wide.yaml

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>

* Respond to PR feedback

Use headings instead of `TabItem`s to split up sections of the config
reference.

---------

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>
2023-02-24 22:12:38 +00:00
Alan Parraandalexfornuto d0affe9c76 Add public docs for device trust (#20954)
* Add device trust documentation

* Link to Device Trust from Access Control pages

* Document `device_trust` authentication section

* Document the `tsh device enroll` command

* Document `tctl devices` commands

* Review: Explain macOS restriction in text

* Review: Address Alex's comments

Indents, markdown style, code block style, punctuation and missing
words.

* Review: Use diff blocks on `tctl edit` example

* Review: Use diff blocks in other examples

* Review: Use standard example names

* Review: Address Alex's comments (2)

Uppercase SERIAL, macOS enroll notice, config example tabs.

* Review: Sort `tctl devices` commands alphabetically

* Review: Use config variables for asset_tag and enroll_token

* Review: Remove '#' from code blocks in cli.mdx

* combine warning and ScopedBlock

A ScopedBlock for OSS will never render on a page not scoped for OSS. This way, it's always visible. Once the feature is out of preview, we can just remove the first line.

* clarify device trust between trusted clusters

This addition dispells any assumptions made by the reader that applying device trust to root clusters would enforece the setting on leaf clusters.

* update enterprise tctl version output

---------

Co-authored-by: alexfornuto <alex.fornuto@goteleport.com>
2023-02-02 20:43:51 +00:00
Vitor Enes 3fd74ae3fd Periodically reload proxy certificates (#19996)
This commit adds a certificate reloader that periodically reloads proxy
certificates.

Implementation was intentionally kept as simple as possible:
- periodically go through all key pairs and try to load them again
- if any key pair fails to load, then no certificate is updated
- no retry mechanism
- `inotify` is not used

The interval between reloads is configurable by setting
`https_keypairs_reload_interval` to some duration. If not set, or if set
to `0`, then certificates are not reloaded periodically. Thus, this
feature is opt-in and the current behaviour is maintained.
2023-01-10 16:27:40 +00:00
Paul GottschlingandSteven Martin 9492589090 Describe enabling services in the config reference (#19440)
* Describe enabling services in the config reference

Closes #4214

Add a section to the configuration reference indicating which Teleport
services must be enabled/disabled explicitly so they run when Teleport
starts.

The configuration reference wasn't divided into H2s before this, so I
have organized the long Admonition that begins the section into H2s as
well.

* Respond to PR feedback

Co-authored-by: Steven Martin <steven@goteleport.com>
2022-12-20 14:35:57 -05:00
Paul Gottschlingandalexfornuto da186f9b5a Document Azure CLI access (#18979)
* Document Azure CLI access

Closes #17583

- Create a guide to Azure CLI access
- Update references to reflect changes to roles, commands, and the file
  config

* Respond to alexfornuto feedback

* Add a section to the guide on `tsh proxy azure`

* Respond to smaller feedback items from Tener

* Switch the order of role approaches

Responds to one item of feedback from Tener.

* Respond to zmb3 feedback

* Document new behavior

- Wildcards in `deny` rules
- The `tsh proxy az` alias

* Add SSO instructions for defining a role

* Update env var values

* optimize images

Co-authored-by: alexfornuto <alex.fornuto@goteleport.com>
2022-12-13 21:06:52 +00:00
1b225d1268 Update permit_user_env comments in config ref (#18813)
* Update config.mdx

Update permit_user_env config reference comments to indicate that the ~/.tsh/environment file exists on the SSH server and not the client side.  This caused confusion with users attempting to pass variables to sessions via the client.

* Update docs/pages/reference/config.mdx

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>

* Update config.mdx

* Update docs/pages/reference/config.mdx

Co-authored-by: Gus Luxton <gus@goteleport.com>

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
Co-authored-by: Gus Luxton <gus@goteleport.com>
2022-11-30 10:16:43 -05:00
355a9c719d [Docs] Desktop Access Value and Log updates (#18655)
* Note the intended purpose of Desktop Access

* update Desktop Access Session Recording:

- Removing outdated info on recording icon
- Add image of Session Recordings in Web UI
- Address log rotation for recoding file size

* edits based on review

* incorporate feedback from @zmb3

* Update docs/pages/desktop-access/getting-started.mdx

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>

* Update docs/pages/desktop-access/reference/sessions.mdx

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>

* Update docs/pages/desktop-access/reference/sessions.mdx

Co-authored-by: Isaiah Becker-Mayer <isaiah@goteleport.com>

* removes dead link from session_recording comment string and revises wording slightly

* Apply suggestions from code review

Co-authored-by: Isaiah Becker-Mayer <isaiah@goteleport.com>

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
Co-authored-by: Isaiah Becker-Mayer <isaiah@goteleport.com>
2022-11-28 14:14:00 +00:00
Alex FornutoandZac Bergquist dde4af8e26 [Docs] Minor Config Reference Update (#18491)
* note disconnect_expired_cert applies to db sessions

* updates from review feedback

* Update docs/pages/reference/config.mdx

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2022-11-18 21:05:54 +00:00
Alex Fornuto 0dbb37f7cf [Docs] Fix rewrite key example. (#17496)
* add parent key of rewrite

* expand rewrite example config

* Update docs/pages/reference/config.mdx
2022-11-11 10:40:27 -06:00
Stephen Levine 4f341b89eb Docs: cluster_name and public_addr do not need to match (#15882) 2022-11-10 19:37:39 +00:00
Tiago Silva dea8dd7020 [docs] EKS & AKS auto-discovery docs (#17628)
Closes #17427
2022-11-07 22:48:01 +00:00
Alex Fornuto 63912254a5 correct disable_create_host_user reference (#16798) 2022-10-17 13:19:04 +00:00
rosstimothy f591236b33 Enhance diagnostics docs (#15648)
* Enhance diagnostics docs

The diagnostics docs were all in one page(`setup/reference/metrics.mdx`)
which made things a bit hard to find, and wasn't conducive to adding
new content.

Diagnostics information is now located at `setup/diagnostics` with each
section from the original `metrics.mdx` doc now having its own dedicated
page. The section will now show up in the navbar at
"Setup" > "Monitoring Your Cluster".

The content of the profiling page is expanded to include information from
https://github.com/gravitational/teleport/blob/740d184d1cfc69ae2e96c50ee738b13884fb232b/assets/monitoring/README.md#low-level-monitoring
to illustrate what the different profile types are, the information that
they capture, and how to retrieve them.

A new Distributed Tracing page is also added to instruct users on how to setup
the `tracing_service` to collect and export spans (the last open item
for #12241).
2022-10-14 20:05:07 +00:00
Ryan Clark dc8355f082 Neaten up the config comments for config v2 and above, remove config changelog (#17128) 2022-10-12 16:20:40 +01:00
Andrew Burke db7fdff809 Add option for tsh to load all CAs (#15178)
This change adds an option to let tsh load CAs for all clusters when logging in, instead of just the current cluster.
2022-10-05 18:29:09 +00:00
Alex McGrath d18031ae71 Add docs for EC2 instance discovery (#16279)
* initial doc for ec2 instance discovery

* Resolve review comments

* Resolve review comments

* Resolve review comments

* resolve some review comments

* introduce discovery node in the initial paragraph

* Resolve comments
2022-10-05 14:53:39 +00:00
David Boslee 0edbc8252b Add documentation for proxy peering (#15790) 2022-10-04 11:00:37 -05:00
Ryan Clark e7b022de1d Fix incorrect proxy_servers mention in the config reference docs (#16962) 2022-10-04 14:30:43 +00:00
Ryan Clark 806a568ada Introduce config v3, add auth_server and proxy_server, remove auth_addresses (#15761) 2022-09-28 15:30:15 +00:00
Alan Parra 9bc7ba815a Remove HOTP mention from reference config (#16590)
HOTP is a leftover from olden times.
2022-09-21 20:14:48 +00:00
Hugo Shaka 6367c1415a docs: fix joinParams reference (#16346) 2022-09-13 21:23:32 +00:00
Gus Luxton 2723369543 docs: Add missing commands key to dynamic labels in reference (#15869)
Add missing commands key to dynamic labels

Somehow the `commands:` key got removed and so the reference was giving an incorrect structure.
2022-08-29 14:23:18 +00:00
Andrew LeFevre 7edf9c333f Merge pull request #15144 from gravitational/capnspacehook/file-copy-role-option
Added file copying role option and node config option
2022-08-24 20:13:41 +00:00
Paul Gottschling 91c89b6126 Organize docs guide sections chronologically (#15357)
* Organize docs guide sections chronologically

This change aims to make docs navigation easier by organizing some docs
sections according to the sequence of steps a user would take to set up
Teleport.

The current docs organization uses a variety of categories and schemes
to organize the docs. For example, there is a "Home" section that
includes the Changelog, Installation page, and Getting Started guides; a
"Setup" section that includes references and admin guides; and
edition-specific sections (Enterprise, Cloud). For a user who is setting
up Teleport--or who has already done some setup work and wants more
advanced instructions--it's difficult to know where in the docs to find
the right information.

This change organizes our how-to guides into the following categories
that describe the process of setting up Teleport:

- Try out Teleport
- Deploy a Cluster (including choosing an edition)
- Configure Access (including SSO, RBAC, and Access Requests)
- Manage your Cluster (admin guides, operations, etc.)
- Use Teleport (this section already exists)

I moved the Reference section after this chronology, since users can
access the reference guides anywhere in the setup process.

As part of the change, I have also moved the content from the
"Enterprise" and "Cloud" sections into "Deploy a Cluster", since this
content has to do with how to deploy a specific edition of Teleport.

Note that this change does _not_ attempt to reorganize our
protocol-specific sections. While adding resources is part of the
Teleport setup process, we have a lot of content in our
protocol-specific sections, and moving it all into a single section
related to adding resources to a cluster would (a) exceed the maximum
depth for subsections in the nav bar and (b) cause more confusion than
it alleviates.

* Respond to PR feedback

- Create a "Compliance Frameworks" section of "Configure Access" with
  the FedRAMP and SOC 2 guides
- Rename "Use Teleport" to "Connect your Client"
- Move the database GUI client guide into "Connect your Client"

* Add redirects

* Fix linter issues
2022-08-22 19:45:32 +00:00