Commit Graph
17 Commits
Author SHA1 Message Date
Paul Gottschling fd08933d0d Sort CLI reference guides alphabetically (#35843)
Closes #21164

The CLI reference is a section of the docs in which each CLI tool has
its own page, so this change sorts each page individually.

The change places H2 sections not related to individual commands (e.g.,
sections for global flags and environment variables) at the top of each
guide, and sorts the sections following these.

In `teleport.mdx`, all commands except for `start` are only documented
in a table at the beignning of the page, so this change sorts the table.
2023-12-19 21:38:45 +00:00
0a09e538f3 Add docs for future assume time on access requests (#35555)
* Add docs for future assume time on access requests

* Update docs/pages/access-controls/access-requests/access-request-configuration.mdx

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

* Update docs/pages/access-controls/access-requests/access-request-configuration.mdx

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Update docs/pages/access-controls/access-requests/access-request-configuration.mdx

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Update docs/pages/access-controls/access-requests/access-request-configuration.mdx

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Add link to RFC339 to access request doc

---------

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-12-14 16:54:14 +00:00
Steven Martin 6a99742c2e docs: use default pre-set roles in tsh examples (#34742) 2023-12-12 18:45:35 +00:00
Alex McGrath 1861fb5792 Support ClusterNetworkingConfig and AuthPreference in --apply-on-startup (#34524)
* support ClusterNetworkingConfig and AuthPreference in --apply-on-startup

* update init_test.go and docs
2023-11-14 11:12:52 +00:00
Hugo Shakaandrosstimothy 2667c1bba1 Support applying Users and Roles on startup (#34311)
* Support applying user and roles on startup

* Update reference

* Address feedback

* Update lib/auth/init.go

Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>

---------

Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>
2023-11-08 14:24:07 +00:00
Paul Gottschling 6eb7001bbc Fix potential SEO issues (#33903)
- Fix clashing reference page titles ("Teleport CLI Reference" and
  "teleport CLI reference").
- Add missing redirects: The Teleport blog encountered 404s navigating
  to three pages. This change adds redirects for these pages in case
  other sites link to them as well.
2023-10-26 18:08:09 +00:00
Gus Luxton 65eba5da93 tsh: Add support for host:port combinations to tsh puttyconfig (#33518)
* tsh: Add support for host:port combinations to tsh puttyconfig

* docs: Update PuTTY docs to add instructions for adding OpenSSH nodes

* Add OpenSSH example to tsh puttyconfig CLI reference

* Tidying as suggested by tiago
2023-10-20 19:44:06 +00:00
Noah StrideandPaul Gottschling 7e11b3ab58 Machine ID Docs Refactor (#31259)
* Skeleton out docs refactor (#31017)

* Start outlining index pages

* More reshuffling

* Remove old guides index page

* Adjust sidebar config

* Fix redirect

* Fix crosslinks

* Fix changelog links

* Fix more links

* Add short descriptions for platform guides

* Improve some page descriptions/signposting

* Nicer title

* Outline intro page

* Add notes on common usecases

* Remove old sections from introduction

* Start to outline overview topics

* Roughly expand on overview to cover bot user/bot role

* Clarify usecases

* Attempt to break up further reading section to be intelligible

* SPAG

* Add TODOs

* Machine ID Docs Refactor: Kubernetes Platform Guide + some AWS/GCP (#31796)

* Add config files needed for Kubernetes deployment

* Tidy examples under defined headers

* Add namespace to specs

* Add notes on join methods

* Further details on Kubernetes joining

* Document kubernetes rbac resources

* Skeleton out GCP/Linux platform guides

* Add necessary topics to the background for GCP and Linux

* Try and rewrite the blank role mdx to be less rubbish

I'm pulling my hair out over this lol

* Add a todo so I can come back to this part of the description when i can use words

* Further flesh out the background shape and intor shape for the platform guides

* Add more steps to k8s guide

* Fix links to k8s page

* Explain `kubernetes` join method

* Add documentation to the token yaml

* Add reasoning for role

* Document deployment manifest

* Add notes on determining if the deployment is healthy.

* Add token yaml for aws/gcp from my reference notes

* Add token/bot creation step for aws,gcp,linux

* customizing

* Machine ID Docs Refactor: Add `tctl` and `terraform` access guides (#32036)

* Outline `tctl` access doc

* Flesh out Terraform page with an example

* Fill out the copy for the Terraform provider guide

* Add explanation to configure tbot step of Terraform guide

* Add similar explanatory prose to tctl.mdx

* Add example role for tctl guide

* Try to better explain modifying the existing role

* Fix prerequisites

* Note on configuring permissions

* Fix SPAG

* Appease linter

* Expand intro for Terraform

* Please linter with newlines

* Remove spurious newline

* Clarify install/confgiure language

* Update docs/pages/machine-id/access-guides/tctl.mdx

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Update docs/pages/machine-id/access-guides/tctl.mdx

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Update docs/pages/machine-id/access-guides/tctl.mdx

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Update docs/pages/machine-id/access-guides/terraform.mdx

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Remove bactics from title

* Make example roles less powerful

* Add example of tctl command to check success

* Correctly say platform guide not access guide

* Be more specific in mentioning `tbot`

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Remove V11 support warnings from platform guides

* Machine ID Docs Refactor: Linux VM based Platform Guides (#32472)

* Add pre-requisites

* Add example systemd service

* Notes on oneshot mode

* Offer daemon or oneshot mode docs

* Hide one-shot mode from `token` join based Linux

* Clarify Linux user for access

* Use variables for the token and explain commands

* Explain creating systemd service

* Explain when to prefer one-shot mode

* Add skeleton for Azure

* Document azure join token fields

* Add intros for guides

* Explain why we protect the directory

* Add install instructions

* Remove step regarding writing token to a seperate file

* Move coinfigure outputs to template

* Signify each step as local machine or target host

* Explain gcp/azure join methods

* Explain token and iam join methods

* Remove no longer recommended host certs guide

* Add next step

* Correct list of supported join methods

* Machine ID Docs Refactor: Rewrite GitLab and CircleCI guides (#32834)

* Start reshaping the circleic guide

* Make some changes to the GitLab side as well

* Add role creation to GitLab guide

* Add role creation step to CircleCI guide

* Adjust token file name

* Make sure anonymous telemetry advice is included

* Machine ID Docs Refactor: GitHub Actions docs (#32854)

* Start restructuring GHA guides

* Copy in Kubernetes Action example

* Add example DIY workflow

* Adjust examples with replacement steps

* Link off to the action github pages

* Tidy up introduction for GHA guide

* Explain GHA examples better and more searchably

* Improved title

* Add example role modifications

* Machine ID Docs Refactor: Ansible Access Guide (#32741)

* Rework Ansible with Server Access guide

* SPAG and consistency suggested changes

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Clarify intro and use the variable throughout

* suggested fixes

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Clarify configuring bot rbac

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Machine ID Docs Refactor: Application Access (#32745)

* Rework Application Access docs

* Code review suggestions

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Clarify RBAC

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Machine ID Docs Refactor: SSH Access guide (#32735)

* Add prereqs for ssh access guide

* Outline steps and output config

* Add guidance on tsha nd OpenSSH

* Guidance on other tools

* Simplify guidance on other tools

* Link to ansible guide

* Apply suggestions from code review

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Reorganise RBAC section

* Fix miscopied sentence

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Machine ID Docs Refactor: Architecture and Introduction (#32901)

* Rewrite getting started guide next steps

* Rewrite introduction introduction to focus on tangible machine ID benefits

* Overview

* Add todo markers

* Rewrite overview

* Rewrite some of the architecture page

* Apply suggestions from code review

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Rearrange "overview" to act as "concepts"

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Machine ID Docs Refactor: Database Access (#32743)

* Rewrite database access guide

* Apply suggestions from code review

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Apply suggestions from code review

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Clarify that systemd should be used rather than exercise for reader

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Machine ID Docs Refactor: Kubernetes Access (#32744)

* Rewrite Kubernetes access guide

* Code review suggestions

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Explain need for kubectl on both client machine and machine id host

* spag

* Fix `kubernetes_resources` example

* Further clarify `kubernetes_resources`

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Edit the Machine ID docs refactor (#33596)

* Edit the Machine ID docs refactor

- **Rename the new guides:** Use the "Connect a Bot" and "Deploy Machine
  ID" language instead of "Access Guides" and "Platform Guides" to
  connect these guides more explicitly to the language we use in the
  "Concepts" discussion of the Machine ID landing page.

- **Add context to the deployment guide index page**: Reduce repetition
  and provide information about each deployment method to help users get
  more context about how Machine ID runs and joins a cluster, as well as
  to help users choose a deployment guide.

- **Make links more visible on the Machine ID intro page:** Use a video
  banner for the Machine ID intro so it takes up less space on the page.
  Shorten some sections and add more specific H2s for the links.

- **Streamline some deployment guides:** Where guides include
  "Background" and "Guide" H2s, blend the introductory information with
  the guide so we can promote the "Step" H2s to H3s and direct the reader
  to the step-by-step instructions more quickly.

- **Add new pages to the docs table of contents.**

* Respond to zmb3 feedback

- List cloud platforms before CI/CD platforms on the sidebar
- Recommend using platform-signed identity documents in the deployment
  guide intro page.
- Edit language introducing join tokens.

* Respond to strideynet feedback

- Edit wording in the deployment guide index page, including renaming a
  section heading and adding language re: renewable certs in the static
  token join method.
- Change GitHub Actions link.
- Rename the Access Guides back to "Access Guides"

* Fix spelling

* Appease linter

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-10-19 17:19:29 +00:00
Gus Luxton 5930977eb2 docs: Add WinSCP to PuTTY client instructions (#32868)
* docs: Add WinSCP to PuTTY client instructions

* Restore validity section

* Restore validity section

* Formatting tweaks

* Merge lists

* Change title

* Fix docs link title to match page

* Bump tsh version for WinSCP support

* Whitelist WinSCP in spellcheck

* putty.mdx -> putty-winscp.mdx
2023-10-06 18:55:58 +00:00
lsgunn-teleport c33b8484e5 docs: Reduce the use of capitalized trusted clusters and a few other fixes (#32432)
* Reduce the use of capitalized trusted clusters and a few other fixes

* fix a typo

* Modify the description of trusted clusters in core concepts

* Lower case cluster, add root and leaf to the description for self-hosted

* OpenSSH split into two topics
2023-10-04 19:40:44 +00:00
Gavin Frazar ed4c0073b0 update --db-user and --db-name docs (#32523) 2023-10-02 22:32:30 +00:00
Gavin Frazar e3f34a22c6 remove docs for deprecated flags (#32525) 2023-09-27 01:33:27 +00:00
def6c97d22 Add Access List documentation. (#31781)
* Add Access List documentation.

Access List documentation has been added, providing a reference for Access
Lists for Teleport v14.

* Reword things, clarify unclear things, remove copy paste error.

* Migrate CLI docs.

* Show user creation via the GUI.

* Make the dumper app the concrete example in the access list guide.

* Remove references to running resources in prerequisites.

* Update docs/pages/access-controls/access-lists/reference.mdx

Co-authored-by: Roman Tkachenko <roman@goteleport.com>

* Add in admonition about audit reviews not being in Teleport yet.

* Remove language surrounding missed audit reviews leading to expired access.

* Apply suggestions from code review

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

* Make the requirements fields more clear.

* Correct typo.

---------

Co-authored-by: Roman Tkachenko <roman@goteleport.com>
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2023-09-15 16:53:57 +00:00
Paul Gottschling 87735d3612 Move the tsh config file guidance (#30437)
Fixes #27817

Move our guidance on the `tsh` config files to the `tsh` guide in the
"Connect your Client" section and out of the CLI reference. This is
because the CLI reference focuses on commands, while the general `tsh`
guide covers a number of topics, making it a more appropriate place for
the config file guide.
2023-08-21 18:17:14 +00:00
Noah Stride 9268e97d01 Machine ID: Support for JSON log formatting (#30755)
* Support for json log output in `tbot`

* Fix spacing in docs

* fix markdown spacing
2023-08-21 13:26:09 +00:00
Paul Gottschling 96f2e482c9 Replace multi-line ScopedBlocks with Tabs (#30616)
* Replace multi-line ScopedBlocks with Tabs

Contributes to #30268

The documentation scope switcher tends to confuse users, and the
ScopedBlock component hides docs content based on the scope switcher. To
help remove ScopedBlocks from the docs site, this change replaces
multi-line ScopedBlocks with Tabs components if they include variations
for different scopes.

While most multi-line ScopedBlocks function like Tabs, there are a few
edge cases, which this change addresses individually.

Note that this change does not intend to remove all ScopedBlocks that
are placed inline within a paragraph. That will be the goal of a
separate change.

* Remove more ScopedBlocks (#30623)

This builds on the work done in #30616 and contributes to #30616.
2023-08-17 17:17:46 +00:00
Paul Gottschling 191e645011 Split up the CLI reference (#30129)
Fixes #29957

Improves the page load performance of our CLI reference documentation by
splitting up the long CLI reference page. This also has other benefits,
including:

- **SEO**: Users don't need to search for the Teleport CLI reference
  (and don't need to know that this page exists), but can search for a
  specific tool they want reference docs for.
- **In-page search:** Users searching within a specific page will get
  results for the tool they are researching, not all of Teleport's CLI
  tools.
2023-08-10 13:56:47 +00:00