Commit Graph
67 Commits
Author SHA1 Message Date
Sakshyam ShahandPaul Gottschling 5c83b29ca9 docs: explain awsic plugin install --assume-role-arn flag (#53512)
* docs: explain awsic plugin install  flag

* expand the use system credential sentence

* Update docs/pages/admin-guides/management/guides/aws-iam-identity-center/migrating-identity-center-from-okta-to-teleport.mdx

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

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2025-03-28 20:54:00 +00:00
Noah StrideandPaul Gottschling b3448877b5 Add documentation for workload-identity-aws-ra tbot service (#53322)
* Add cdocumentation for `workload-identity-aws-ra` service

* Apply suggestions from code review

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

* Adjust name to be full roles anywhere

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2025-03-27 13:52:43 +00:00
175a5504b1 docs: Add tctl plugins install refrerence (#52878)
* docs: Add `tctl plugins install` refrerence

* Update tctl.mdx

* Apply suggestions from code review

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

* Update tctl.mdx

* Update tctl.mdx

* explain required and optional fields

---------

Co-authored-by: Roman Tkachenko <roman@goteleport.com>
Co-authored-by: Sakshyam Shah <sshah@goteleport.com>
2025-03-21 02:50:11 +00:00
Paul Gottschling 6023797386 Use the Docusaurus format for Details (#53009)
See gravitational/docs-website#91

Docusaurus uses semantic HTML tags instead of a custom Details
component. Replace instances of our Details component with the
`<details>` and `<summary>` tags so we do not need to perform a
conversion when building the docs website.
2025-03-13 17:32:59 +00:00
Zac Bergquist 213246296f docs: document tsh sessions ls (#52780)
Closes #52391
2025-03-07 16:39:09 +00:00
marieandZac Bergquist 829532409b docs: new product messaging for marketing launch (#52319)
* initial draft for marketing changes

* product name changes from marketing

* correcting duplications

* final changes post-marketing review

* review changes

* Update docs/pages/admin-guides/infrastructure-as-code/managing-resources/access-list.mdx

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

* revisions

* cleanup and reverting use-cases of 'Zero Trust Access x'

* Trust Access corrections

* removing 2 images already in master

* post-feedback changes

* Update docs/pages/admin-guides/teleport-policy/teleport-policy.mdx

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

* post G2 review feedback

* Lint helm appeasement

---------

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2025-03-07 01:35:13 +00:00
Tim Buckley e512ff1253 Machine ID: Document kubernetes/v2 service (#52783)
* Machine ID: Document `kubernetes/v2` service

This adds initial documentation for the new `kubernetes/v2` service.

This only includes reference documentation for now, since this
service was added partway through v17; the existing Kubernetes guide
will be updated in a separate PR for v18 and won't be backported to
v17.

Partially fixes #52412

* Review feedback, and add an FAQ entry about the new service

* Add more detailed version note

* Fix broken link
2025-03-06 00:54:19 +00:00
Paul Gottschling 0fbbeff50c Replace Notices with Docusaurus syntax (#52634)
Use Docusaurus syntax for admonitions so the docs engine does not need
to replace these. This is one step toward removing the
`remark-update-tags` plugin. See: gravitational/docs-website#94

Relevant commands are included below to make reproducing this work
easier.

1. Replace all `Notice` tags with `Admonition` tags.

2. Add `type="info"` if an Admonition is missing a type.

   To find instances:

   ```
   find docs/pages -name "*.mdx" -exec awk '
   BEGIN{a=0}
   a==0 && /<Admonition/{ a = 1 }
    a==1 && /type/{t = 1}
    a==1 && />/{ a = 0; if(t == 0) print FILENAME ":" FNR }' {} \;
   ```

3. Replace `type="notice"` with `type="note"`.

   To find instances:

   ```
   find docs/pages -name "*.mdx" -exec awk '
   BEGIN{a=0}
   a==0 && /<Admonition/{ a = 1 }
    a==1 && /type="notice"/{t = 1}
    a==1 && />/{ a = 0; if(t == 1) print FILENAME ":" FNR }' {} \;
   ```
2025-03-04 15:51:27 +00:00
7669c4e4ce docs: Remove references to tsh aws proxy --endpoint-url mode (#52493)
* refactor(docs): remove --endpoint-url reference and add troubleshooting section

* Apply suggestions from code review

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: STeve (Xin) Huang <xin.huang@goteleport.com>

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: STeve (Xin) Huang <xin.huang@goteleport.com>
2025-02-28 23:37:46 +00:00
39fc6a7cbb [teleport-update] Agent managed updates documentation (#52024)
* docs wip

* wip 2

* wip 3

* remove roles

* wip

* wip 4

* wip 5

* wip 6

* cli 1

* next

* cli ref

* Autoupdate docs edition:

- ban subjective and marketting words such as "new", "old", "original",
  "next-generation", "previous", and consolidate to Managed Updates v1/v2
- change the installation snippets to document the unified installer
  (except the linux-cloud one).
- change the autoupdate architecture page to reflect the design changes
  between v1 and v2
- make the autoupdate v2 guide not Cloud-specific
- fix configuration examples
- add troublshooting commands

* Fix broken links

* managed updates -> Managed Updates

* fixup! Fix broken links

* finish teleport-update reference, fix typo

* Add unified installer + align names + fix typos

* style feedback

* title fixes

* cleanup

* lint

* Address feedback + fix spell + fix bash command

Signed-off-by: hugoShaka <hugo.hervieux@goteleport.com>

* Simplify install script docs + fix links

Signed-off-by: hugoShaka <hugo.hervieux@goteleport.com>

* try to appease linter

* fixup! try to appease linter

* Apply suggestions from code review

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

* Address final feedback

---------

Signed-off-by: hugoShaka <hugo.hervieux@goteleport.com>
Co-authored-by: hugoShaka <hugo.hervieux@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2025-02-28 20:49:13 +00:00
0212ee6730 Update tctl reference docs with autoupdate commands (#52455)
* Update `tctl` reference docs with autoupdate commands

* Documentation feedback

---------

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

* Update docs/pages/reference/cli/tctl.mdx

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

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2025-02-28 17:39:02 +00:00
Paul Gottschling 41310d2bca Address 67 Vale warnings (#52511)
- Fix "Auth Service" variations.
- Fix some AWS product naming violations.
- Ignore some false positives.
- Fix capitalization warnings.
- Address warnings re: outdated product names.

Some of the warning categories above include auto-generated pages. This
change does not touch the generators in order to simplify things.
2025-02-27 17:15:40 +00:00
TarasandNoah Stride 417ffdda01 tbot env variable configurations (#52305)
* `tbot` add env var configs

* add `start` cmd to tbot-distroless images

* Update CLI reference

---------

Co-authored-by: Noah Stride <noah.stride@goteleport.com>
2025-02-20 12:54:13 +00:00
Yassine Bounekhla a94fac5988 add docs for notifications (#51902) 2025-02-07 21:15:50 +00:00
Edoardo Spadolini 724457ad34 Stable UNIX users: docs (#51662)
* Stable user UID addition to the host user creation guide

* tctl stable-unix-users-ls docs

* CAP resource reference

* auth service reference

* Uncomment defaulted field in fileconf

* Clarify conditions for stable uids
2025-01-31 11:43:10 +00:00
Noah Stride 2a59274927 Fix TODO in tbot CLI reference docs (#51491) 2025-01-27 13:45:08 +00:00
Noah Stride 9153ed0751 Workload Identity Resource Documentation (#51017)
* Add CLI reference

* Start fleshing out pages for new docs

* Link out to Terraform provider information

* Start putting together workload-identiyt-api svc reference

* Minor adjustments

* Keep hacking on reference for resource

* Keep hacking on reference

* Add to list of templating supported fields

* Add TOC

* Add rules to the example yaml

* Flesh out workload-identity-api docs page

* Add some todos

* Add skeleton of attributes page

* ADd comments

* Cross page links

* Retitle page

* Link one reference to another

* Add template for selector

* SPAG

* Fix link

* Fix TODO link

* ADd tbot start workload-identity-jwt to cli reference

* Add `workload-identity-x509` to config reference

* Start documenting join attributes

* Finish last batch of join attrs

* Add some short exsplanations/summaries

* Start explaining rules

* Shorter explanation

* Add opener to Workload Identity API and Workload Attestationreference

* SPAG

* Add docs for selector

* Fill out migration guide

* rename/reorg

* Add short note on SPIFFE Workload API

* SPAG

* Fix links
2025-01-27 09:25:00 +00:00
Alan Parra fcc3f199ae Document the --out flag on tctl auth export (#51373) 2025-01-22 21:45:09 +00:00
Paul Gottschling 7a9fbdad25 Fix Vale warnings in the Reference section (#50168)
Skip warnings in auto-generated pages, which we can handle in a separate
change.
2024-12-13 21:07:14 +00:00
Tim BuckleyandPaul Gottschling 8af6aabf4c Machine ID: Update documentation to reflect tbot CLI changes (#48337)
* Machine ID: Update documentation to reflect tbot CLI changes

This updates the tbot documentation to reflect the new UX changes
for v17, including the new `tbot start` subcommands and runtime ACL
management.

* Add `tctl bots instances` subcommand reference docs

Also tweaks troubleshooting steps to reference the new tctl
subcommands for simpler instance creation.

* Fix a few docs lints

* Small wording fix

* Linter appeasement

* More linter appeasement

* Update docs/pages/reference/cli/tbot.mdx

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

* Adjust wording to explicitly state "example" is the bot name

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2024-11-08 02:30:52 +00:00
Steven Martin 32b403ecef docs: update tsh reference (#48613) 2024-11-07 22:19:00 +00:00
Paul Gottschling f0e79243f1 Fix tctl users add reference examples (#48466)
Closes #10574

- Present the examples with a correct use of the `logins` flag
- Since the current examples overlap, just use one

The remaining issues identified by #10574 are already resolved or out of
date.
2024-11-06 19:00:59 +00:00
Paul Gottschling 75cdbcbef8 Restructure docs menu pages (#47797)
Docusaurus [sidebar
generation](https://docusaurus.io/docs/next/sidebar/autogenerated)
expects category index pages to have one of three file path conventions:

- `section/index.mdx`
- `section/README.mdx`
- `section/section.mdx`

This change standardizes category index paths on the third convention so
Docusaurus sidebar generation succeeds. We can then add checks to the
current docs site to prevent additional menu pages from violating this
convention.

This change also adds redirects to the new category index pages, and
updates internal links to pages that were moved.

Note that this change does not move all relevant menu pages. We still
need to reorganize the `reference/terraform-provider` section. Since
this section is automatically generated, we need another approach to
restructuring it.
2024-10-25 12:43:45 +00:00
Zac Bergquist e1e563fd29 docs: update tsh play description (#47226)
- Improve examples
- Add new --format options
2024-10-04 21:30:48 +00:00
Paul Gottschling c4e8db6a63 Add tctl request create to the reference (#46767) 2024-10-04 15:44:28 +00:00
Nic Klaassen d045c7dd5e feat: update tctl status to show key algorithms and storage (#47175) 2024-10-04 00:00:27 +00:00
Steven MartinandSteven Martin afd7ef5c5c docs: use code instead of shell (#46327)
* docs: use code instead of shell

* docs: revert generated file

* docs: update shell styling for generated file

---------

Co-authored-by: Steven Martin <stevenmartin@Stevens-MBP.fios-router.home>
2024-09-06 13:21:45 +00:00
Noah Stride d0b696e6c7 Add documentation and references for fdpass-teleport (#46208)
* Add documentation and references for `fdpass-teleport`

* Fix frontmatter
2024-09-05 10:02:55 +00:00
Paul Schisa f0d32c3194 Update tsh.mdx to include TELEPORT_IDENTITY_FILE env variable (#45085)
introduced in https://github.com/gravitational/teleport/pull/18644/files but not docuemented
2024-08-09 13:30:12 +00:00
Paul Gottschling 6a02060f07 Fix OpenSSH guide sidebar highlighting (#45236)
Currently, the agentless OpenSSH guide does not appear on the sidebar.
This is because the sidebar generator expects menu pages to be named
after their corresponding subdirectory and to exist at either (a) the
same level as the subdirectory or (b) within the subdirectory. Since a
page exists at both locations called `openssh.mdx`, the sidebar
generator only shows one of these.

This change edits the OpenSSH guide to be called `openssh-agentless.mdx`
so it appears on the sidebar.
2024-08-08 17:33:22 +00:00
Paul Gottschling dfb94c872e Simplify the docs site navigation (#44327)
Provide a less overwhelming documentation experience for users by
condensing sidebar sections into five, organized loosely around
different audiences of the documentation:

- **Get Started:** new Teleport users, as well as users of all levels
  who want to quickly look up key, frequently changing information, such
  as the changelog and upcoming release information.
- **Admin Guides:** intermediate users completing a specific task. This
  includes all how-to guides in the docs except those in "Get Started"
  and "Enroll Resources".
- **Enroll Resources:** Admin Guides, but for our extensive library of
  how-to guides for protecting infrastructure resources with Teleport.
- **References:** Advanced users looking for comprehensive reference
  information and architecture guides. This includes all reference
  guides in the docs.
- **User Guides:** Guides for end users looking to access resources.

Related changes:
- **Move Helm reference partials**. Use the `docs/pages/includes`
  directory so we can generate the sidebar from `docs/pages/reference`.
- **Move the Architecture sidebar section** into "References", and move
  architecture guides across the documentation into "Architecture".
- **Remove "Documentation Overview"** as this is out of date. Now, top-level
  sidebar sections are more self explanatory.
- **Remove "Choose an Edition"**, since we want to elevate Teleport
  Enterprise (Cloud), making Teleport Enterprise (Self-Hosted) available
  for certain use cases.
- **Add an infrastructure as code section** to Admin Guides.
2024-08-05 18:04:01 +00:00
Andrew LeFevreandAndrew LeFevre bca2943dca add option to allow client redirects from IPs in specified CIDR ranges in SSO client logins (#44556)
Co-authored-by: Andrew LeFevre <Andrew LeFevre>
2024-07-30 21:02:57 +00:00
Noah Stride f1aa345103 Use new tbot install systemd command in docs (#44499)
* Add `tbot install systemd` to CLI reference

* Switch systemd unit file creation to new `tbot install systemd`

* Remove unused machine-id-service include
2024-07-23 07:45:30 +00:00
Paul Gottschling c94a2b1cef Condense docs sections into "Enroll Resources" (#43979)
The number of sections on the left sidebar makes the documentation
difficult to navigate. This change reduces the number of sidebar
sections by creating an "Enroll Resources" section from sidebar sections
related to protecting infrastructure resources with Teleport.

This change configures the sidebar for the Enroll Resources section to
be automatically generated. Since the generator expects each
subdirectory of a section to have a corresponding table of contents
page, this change also adds missing table of contents pages.

In some cases, we can repurpose an existing section introduction page
for a section's table of contents page. In other cases, the introduction
spends too much time on providing context to make for a useful table of
contents, so this change adds a separate table of contents page. Table
of contents pages use the `(!toc!)` syntax to list links automatically
based on the file system.

This change also adds redirects based on mentions of Teleport docs URLs
in the Web UI source, and removes all other redirects to avoid exceeding
the maximum number of routes in Vercel.
2024-07-11 21:20:33 +00:00
Steven MartinandSteven Martin b5591dd7a2 docs: remove tsh recording exports (#43733)
* docs: add warning on available desktop session export

* docs: remove tsh recordings export section

* docs: remove reference of tsh recordings export

---------

Co-authored-by: Steven Martin <stevenmartin@Stevens-MBP.fios-router.home>
2024-07-02 18:48:36 +00:00
Bernard Kim 9b33d16dde Display remaining alert ttl (#43386)
* List alert ttl

* TTL -> Expires In

* Add usage docs

* TTL -> Expires In
2024-06-24 20:36:59 +00:00
Paul Gottschling 7dd14a1713 Mention --[no-]fips flag in tbot reference (#42103)
Closes #38141
2024-06-20 21:51:32 +00:00
Gavin Frazar 74800d6ea8 make tctl config loading smarter (#42469) 2024-06-14 21:26:48 +00:00
Paul Gottschling 226a142c0a Refactor agent architecture guides into one (#41009)
* Refactor agent architecture guides into one

See #37558

The Teleport documentation has two guides that explain the architecture
of Teleport agents:

- The Database Access Architecture guide
  (`docs/pages/database-access/architecture.mdx`)
- The SSH Nodes guide (`docs/pages/architecture/nodes.mdx`)

While these guides are framed around describing the architecture of
specific agent services, most of the information in these guides applies
to Teleport agents in general.

This change refactors these two guides into a single Teleport agent
architecture guide that applies to all agent services. Where agents
differ, the guide users tables to explain differences. It also links to
more specific guides where applicable.

As an alternative, we could create a separate architecture guide for
each agent service. This change avoids this approach because:
- The purpose of this change is to refactor existing information for
  discoverability, and adds minimal new information.
- Agent services differ substantially in how they proxy traffic to
  specific resources. As of #40115, we expect how-to guides to contain a
  "How it works" section to explain the architecture of enrolling a
  specific resource (#39979 includes an example that edits database
  guides). This approach is cleaner than using a single guide to
  describe the architecture of connecting to every single resource an
  agent can proxy.
- The convention of having a separate `[Resource] Access` section of the
  docs per agent service reflects legacy messaging that we are moving
  away from.

More specific changes:

- Remove `docs/pages/database-access/architecture`.
- Combine information from the Database Architecture and SSH Nodes
  guides into an Agent Architecture guide in
  `docs/pages/architecture/agents.mdx`.
- Move session secording information from the SSH Nodes guide to
  the Session Recording architecture guide, where it is more
  appropriate.
- Remove "Cluster State" from the SSH Nodes guide, since this
  information is present in the backends reference.
- Briefly document direct dial mode for agents, but frame the new guide
  around the assumption that users will/should enroll agents via the
  Teleport Proxy Service.
- Add a new architecture diagram and moves the original one to the
  Database Access Introduction page.

* Respond to greedy52 feedback

- Edit list of database protocols.
- Note additional commands that retreive certificates.
- Add information re: `tsh apps login` to the client cert table.
- Fix Desktop Service introduction mistake.
- Mention the Discovery Service after the list of agent services.
- List the Discovery Service as one that does not require a reverse
  tunnel.
- Mention HTTP apps in the local proxy table.

* Partially respond to feedback

- Use a clearer first paragraph and replace "proxy" where possible when
  talking about agents.
- Use more accurate column heading in service table.
- Clarify where agents can run and their relationship to services.
- Other accuracy/clarity fixes, including incorporating suggested
  wording.
- Describe example agent-to-resource authentication methods for
  resources besides databases.
- Mention Teleport Connect.
- Remove the mention of agent ping message payloads.

* Edit the agent architecture guide

Flatten the heading structure, organizing the guide according to
connections between components, merging the "Retrieving credentials"
sections into sections related to communication between components.

Also clarify the process in which the Proxy Service forwards traffic to
an agent over a reverse tunnel.

* Edit the intro paragraph

* Fix spelling

* Fix linter errors

- Update link target paths
- Add the "Cluster state" H2 from the original "Nodes" architecture
  guide to the Backend Reference so the latter doesn't need to link to a
  missing section.
2024-06-03 21:52:23 +00:00
Gabriel CoradoandPaul Gottschling 892e13904f Update troubleshooting guides with debug service usage (#41396)
* refactor(docs): update docs to include debug service usage

* docs: code review suggestions

* docs: update debug service intro definitions

* Apply suggestions from code review

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

* docs(diagnostics): move teleport-debug-config section up in the guide

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2024-05-21 21:09:57 +00:00
Steven MartinandPaul Gottschling dadc276273 docs: update tsh config cli description (#39286)
* docs: update tsh config cli description

* docs: tsh config verbiage update

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

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2024-05-09 17:47:44 +00:00
Noah StrideandPaul Gottschling 472ff77adc Document TPM join method (#40864)
* Add TPM to join method reference page

* Skeleton out the Linux/TPM guide

* Add yaml for join token

* Flesh out TPM joining guide

* Try var

* Add note on FIPS 140-2 compliance

* Add more vars

* ADd more background to how TPM joining works

* Clarify statement on most secure

* Add `tbot tpm identify` to cli reference

* Rename background to `how it works`

* Update docs/config.json

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

* Update docs/pages/includes/tpm-joining-background.mdx

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

* Update docs/pages/includes/tpm-joining-background.mdx

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

* Update docs/pages/includes/tpm-joining-background.mdx

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

* Update docs/pages/machine-id/deployment/linux-tpm.mdx

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

* Use Create A Bot template

* Expand TPM

* Reword tpm joining background

* Fix trailing ,

* Mention enterprise licensing

* cspell

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2024-04-30 10:36:22 +00:00
STeve (Xin) Huang 7e640fbbf0 Document Azure CLI setup for AKS with Entra Workload ID (#40635)
* Document Azure CLI setup for AKS with Entra Workload ID

* add How it works section

* address review comments from Tener

* address comments from Paul

* try to fix lint and add version info
2024-04-25 16:48:18 +00:00
Steven Martin 362ce97707 docs: add tctl inventory to CLI ref (#40615)
* docs: add tctl inventory to cli ref

* docs: correct version variable reference

* docs: spell fixes for tctl inventory clis

* docs: applied suggestions

* docs: lint fix

* docs: lint fix

* docs: update verbiage for inventory listing note
2024-04-18 10:45:11 +00:00
Noah StrideandPaul Gottschling a3097a00d9 Modify tbot docs to show --proxy-server/proxy_server in preference to --auth-server (#38925)
* Modify `tbot` docs to show `--proxy-server`/`proxy_server` in preference to `--auth-server`

* Apply suggestions from code review

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

* Update docs/pages/machine-id/deployment/kubernetes.mdx

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

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2024-03-18 09:58:36 +00:00
Andrew Burke a79ad92f52 Update testplan and docs (#38942) 2024-03-15 23:50:47 +00:00
Paul Gottschling a53bef2bbb Fix SEO issues reported by SEMRush (#38161)
Fix an incorrect sitemap link. The Teleport docs engine generates the
sitemap based on the contents of `docs/pages`. This directory tree
included a file called `docs/pages/server-access/guides/openssh.mdx`,
but the `config.json` for the docs content included a redirect from this
page to `docs/pages/server-access/guides/openssh/openssh.mdx`, meaning
that a page in the sitemap became inaccessible.

This change fixes the `/server-access` section of the docs to resolve
the sitemap issue. To do so, it creates the `server-access/openssh`
directory and moves OpenSSH guides into this directory. It updates
`config.json` and the Server Access menu page accordingly.

This change also adds a missing meta description to the self-hosted
Access Graph guide.
2024-02-15 19:40:17 +00:00
Zac Bergquist d059e4c22b Address some outstanding docs issues (#38093)
* Add teleport join openssh to CLI reference

Closes #33516

* docs: move event handler config to /etc

Closes #37967

* Clarify use of tctl auth export

Closes #30920
2024-02-15 17:40:13 +00:00
853297286f Add new tctl bots update command (#36496)
* Add new `tctl bots update` command

This adds a new command to update roles and logins for existing bots,
with flags to both set and append as desired.

changelog: Add new `tctl bots update` command to update bot roles and logins

* Pluralize "add-" flags for consistency

* Add docs for `tctl bots update`

Also merges in some other misc docs changes for `tctl bots ...`

* Fix docs lint

* Fix incorrect example

* Apply suggestions from code review

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

* Use the bot service's `UpdateBot()` RPC instead of modifying directly

This switches to use the new `UpdateBot()` RPC instead of modifying
the bot user and role directly. Also, tweaks CLI messaging to be a
bit less chatty.

* Update tool/tctl/common/bots_command.go

Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com>

* Move set functions into their own reusable package

The set package adds a little extra functionality but is still
missing various important functions, like subset/superset,
difference, intersection, xor/symmetric difference, etc.

This changes the API slightly, so the tctl command is updated to use
the new package.

* Remove duplicate tests

* Reword flag help strings for clarity

* Remove set abstraction

Removes the Set package and unrolls all related function calls in
bots_command.

* Add unit tests for `updateBotLogins()` and `updateBotRoles()`

This also makes a minimal API wrapper interface for mocking.

* Use utils function to convert sets to a string slice

* Update docs/pages/reference/cli/tctl.mdx

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

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com>
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2024-01-22 22:17:26 +00:00
Noah Stride 2c8d699906 Add tctl bots commands to CLI reference (#36430)
* Add `tctl bots` commands to CLI reference

* sort in alphabateical order
2024-01-10 08:53:37 +00:00