Commit Graph
171 Commits
Author SHA1 Message Date
1d812b0779 Workload ID: Document the Systemd attestor and Unix improvements (#52875)
* Document the Systemd workload attestor

* Document the `binary_path` and `binary_hash` attribute

* Replace period with colon

Co-authored-by: Noah Stride <noah.stride@goteleport.com>

* Add "dbus" to the linter's known words

* Better grammar

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

* Remove extraneous newlines in list

---------

Co-authored-by: Noah Stride <noah.stride@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2025-04-07 14:02:33 +00:00
9096a28164 Oracle RDS guide (#52784)
* minimal draft

* Add note on enabling TLS for Oracle RDS

* Full Oracle RDS guide

* update SQL Server adutil installation instructions

* Update Oracle RDS database documentation to include audit logging steps. Small corrections to self-hosted guide.

* Fix typos

* Apply suggestions from code review

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

* Remove tabs

* Address part of review comments

* add small comments

* Apply suggestions from code review

Co-authored-by: Gabriel Corado <gabriel.oliveira@goteleport.com>

* expand troubleshooting, tls setup

* note on SQLcl and alternatives

* misaligned columns aligned shall be now

* Typos/spelling

* drop empty line

* Optimize PNG

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Gabriel Corado <gabriel.oliveira@goteleport.com>
2025-03-20 10:35:22 +00:00
e157cda64a docs: Identity Center Okta to Teleport migration guide (#51861)
* docs: Identity Center Okta to Teleport migration guide

* Apply suggestions from code review

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

* Updated diagrams

* Review feedback

- Rearranged to move migration path into "how it works"
- Added Uninstall section
- Added edit section

* cspell update

* Apply suggestions from code review

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

* Applied feedback

* Apply feedback

* Apply feedback

* Adds decription of installation commands

* linter appeasement

* address review comments

* organize ic docs

* move how to guide to root docs page, add detailed deletion guide to getting started page

* adding redirect for Lint appeasement

* fixing broken heading link

---------

Co-authored-by: Roman Tkachenko <roman@goteleport.com>
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
Co-authored-by: flyinghermit <sshah@goteleport.com>
Co-authored-by: marie.mcallister <marie.mcallister@goteleport.com>
2025-03-19 20:50:10 +00:00
Dan UptonandPaul Gottschling 49d543cb1b Document the Podman and Docker workload attestors (#52557)
* Document the Podman and Docker workload attestors

* Use more direct language and fix typo

* Add "rootlessly" and "rootfully" to recognized words

* Use proper `code` blocks and improved grammar

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

* Use real tbot image name

* Linter doesn't like angle brackets

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2025-03-06 22:50:08 +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
Andrew Burke 3fc30e7109 Add OCI tags docs (#52405) 2025-02-27 18:20:05 +00:00
Andrew Burke f3a18d09f8 Oracle join method - Add docs (#51936)
This change adds documentation for the Oracle join method
2025-02-10 21:41:27 +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
Hugo ShakaandRoman Tkachenko 37fbe35625 Refresh IBM guide to use Kubernetes and Postgres (#49018)
* Refresh IBM guide to use Kubernetes and Postgres

* Apply suggestions from code review

* address edoardo's feedback

* spellcheck

* Apply suggestions from code review

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

* lint + fix broken links after rebase

* fix links pt.2

* fix links pt.3

---------

Co-authored-by: Roman Tkachenko <roman@goteleport.com>
2025-01-21 23:49:20 +00:00
Nic Klaassen 7b9505f075 docs: vnet troubleshooting for IP range conflicts (#50516)
* docs: vnet troubleshooting for IP range conflicts

* add missing words to cspell.json
2025-01-17 17:43:22 +00:00
Vadym PopovandPaul Gottschling f6ca51594f Add client tools auto-update documentation (#50835)
* Add client tools auto-update docs

* Add reference to index page

* Fix linter prose style

* Add section with tctl commands
Code review changes

* Reorganize sections
Add documentation to navigation config
Code review changes

* Add `autoupdate` from command to cspell

* Fix linter warning with relative link

* Update docs/config.json

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

* Update docs/pages/upgrading/client-tools-autoupdate.mdx

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

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2025-01-15 19:40:33 +00:00
Bernard Kim 3c95e89a2f Operator managed trusted_cluster guide (#50847)
* Operator managed trusted_cluster guide

* Fix lint

* Fix lint

* Fix lint

- Add How it works section
- Capitalize Teleport Agent

* Fix list indentation

* Link Linux demo guide

* Replace invitation token -> join token

* Consolidate tctl, operator, and terraform guide

* Use double quotes in tf file

The latest version of terraform does not support single quotes

* version field is required

* Fix links
2025-01-14 01:15:32 +00:00
Paul Gottschling 32fb6f1d8b Edit docs CI workflows to accommodate Docusaurus (#48388)
* Edit docs CI workflows to accommodate Docusaurus

- Copy the `gravitational/teleport` source into the `content` directory
  of a `gravitational/docs-website` clone and overwrite the `git-update`
  yarn script with a no-op command. With way, we can use the
  `gravitational/teleport` clone across multiple workflow steps (e.g.,
  the prose linting step), and can identify a branch to pull using the
  `actions/checkout` defaults. Name the submodule directory `current` to
  match the expectations of the Docusaurus site.

- Remove the Vercel preview workflow. After the docs engine migration,
  we'll no longer need to deploy a preview to Vercel in order to show
  docs authors what their potential changes look like on a rendered docs
  site.

Also fixes spelling errors caught by a later version of cspell.

* Fix shellcheck issues in doc-tests.yaml script

- Add `exit` commands for failed `cd`s
- Don't read from and write to `package.json` in the same pipeline
- Add double quotes around variables

* Use latest Docusaurus site config schema

* Fix the Prepare docs site configuration step

- Remove unneeded `cd`s
- Use the correct version name in the `config.json` prepared for the
  Docusaurus site
2024-12-23 14:59:34 +00:00
Paul Gottschling 01fc9f0acf Add DEB/RPM package info to the Installation guide (#49462)
Closes #21264

Edit the section on downloading TAR archives, since this already
includes information on installing Teleport from a local, downloaded
file.
2024-12-04 22:41:34 +00:00
Paul Gottschling c2556ce6cc Edit the Uninstall Teleport guide (#49084)
Closes #46955

Include zypper instructions.
2024-12-04 21:48:28 +00:00
Tiago Silva 4102fa523a Improve access graph documentation (#49314)
* Improve access graph documentation

This PR introduces a recommendation for users to enable Okta/Entra synchronization to improve the user experience when working with Crown Jewels. Ephemeral, highly privileged users created by the SSO connector can generate excessive activity, rendering Crown Jewels difficult to use.

Additionally, the PR includes examples of the new `ssh_keys` view when utilizing the Policy SSH Keys scan functionality.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>

* handle review comments

* handle review comments

* fix doc linter

---------

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
2024-11-25 09:53:50 +00:00
Roman Tkachenko 87bf87dee5 Add Identity Center integration docs (#48951) 2024-11-15 19:44:12 +00:00
Noah Stride f3e36e719f Workload Identity and Azure documentation (#48755)
* Framework out Azure Workload Identity Federation documentation

* Add prereq/intro

* Add section on deciding a SPIFFE ID structure

* Add outline headings

* Add initial steps

* Add instructions for using CLI and SDK

* Finish up Azure workload id guide

* Minor fixup
2024-11-15 12:34:18 +00:00
Nic KlaassenandPaul Gottschling 55609328f2 docs: clarify upgrade path for YubiHSM2 users (#48723)
* docs: clarify upgrade path for YubiHSM2 users

* apply suggestions from code review

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

* link terms to yubihsm docs

* rephrase

* fix lint

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2024-11-14 22:19:09 +00:00
Gavin Frazar 858e1b3b21 add RDS enrollment wizard doc (#48652) 2024-11-14 20:20:42 +00:00
Tiago SilvaandRoman Tkachenko 083644f6ae [entraid] Add docs to setup integration for air gapped clusters (#48571)
* [entraid] Add docs to setup integration for air gapped clusters

This PR adds docs for Teleport Entra Id integration for air gapped clusters where internet access to their proxies isn't available.
This guide also adds a manual step for users that do not want Teleport to automatically setup Azure Entra ID Applications.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>

* fix spell issues

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

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

* Apply suggestions from code review

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

* handle code review comments

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>

* handle code review comments

---------

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
Co-authored-by: Roman Tkachenko <roman@goteleport.com>
2024-11-14 11:44:33 +00:00
Erik Tate 750f8082dd adding note about terraform mappings for create_host_user_mode to host user creation guide (#47139) 2024-10-11 14:38:05 +00:00
pnrao1983andPaul Gottschling b613f70614 Update host-user-creation.mdx - Update sudoers instructions (#45267)
* Update host-user-creation.mdx

The necessary line for our Centos builds:
#includedir /etc/sudoers.d
# is not a comment, even though it usually means a comment in sudoers.
Current Debian uses @includedir.

* Update host-user-creation.mdx

* Update host-user-creation.mdx

Updated the doc

* Update host-user-creation.mdx

Updated the doc

* Update host-user-creation.mdx

Updated per your suggestion

* Update docs/pages/enroll-resources/server-access/guides/host-user-creation.mdx

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

* Update docs/pages/enroll-resources/server-access/guides/host-user-creation.mdx

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

* Fix spelling

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2024-10-04 17:20:28 +00:00
2ba79b2dcd operator: support storing SSO connector client secret in a Kubernetes Secret (#46699)
* Allow operator secret lookup

* Document which fields can lookup secrets

* operator: support secret lookup

* fixup! operator: support secret lookup

* Apply suggestions from code review

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

* lint

* add link to operator docs

* address feedback

* Revert "add link to operator docs"

This reverts commit cd812eb453.

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Roman Tkachenko <roman@goteleport.com>
2024-09-20 21:44:22 +00:00
Gus LuxtonandPaul Gottschling 5e921b33b9 docs: Add troubleshooting step around case insensitive routing to Ansible guides (#46775)
* docs: Add troubleshooting step around case-insensitive routing to Ansible guides

* Fix config levels

* Update ansible.mdx

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

* Update ansible.mdx

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

* Whitelist word for spell checker

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2024-09-19 20:41:06 +00:00
d6640d89d8 docs: expand troubleshooting section on clock drift (#46534)
* Desktop access system clock issues

Signed-off-by: Milos Kaurin <169848006+milos-teleport@users.noreply.github.com>

* Update docs/pages/enroll-resources/desktop-access/troubleshooting.mdx

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Signed-off-by: Milos Kaurin <169848006+milos-teleport@users.noreply.github.com>

* Update

* Update docs/pages/enroll-resources/desktop-access/troubleshooting.mdx

Co-authored-by: M.C.M. <marie.mcallister@goteleport.com>

* update dictionary

---------

Signed-off-by: Milos Kaurin <169848006+milos-teleport@users.noreply.github.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
Co-authored-by: M.C.M. <marie.mcallister@goteleport.com>
2024-09-16 14:19:32 +00:00
Michael bb2359be15 Required Apps and CORS policy docs (#46493) 2024-09-11 20:29:07 +00:00
Noah StrideandhugoShaka 3c38b4ad1b Machine ID: tbot helm chart (#44615)
* Start roughly hacking on a chart for tobt

* Start templating out the deployment spec

* Add image pull secrets

* Add more configurability to deployment spec

* Pull most config into params rather than config map

* Prefer configuring using config file

* Add to index

* Allow configuration of extraEnv

* Fix extraEnv

* Update makefile to test/lint new tbot chart

* Start adding tests for `tbot` chart

* Fix spurious newline in config mpa

* Add more tests for volumes/tolerations etc

* Appease vale linting

* Add docstrings to all values

* Add required values

* Make services/outputs manually configurable

* Use simpler storage technique

* Generate docs

* Fix linting issues

* Simple -> Basic

* Add support for fullnameoverride and nameoverride

* Add extended timeout seconds to liveness and readiness probe

* Add _config.tpl with merging

* Tweak readme for latest changes

* Allow persistence to be configured and use `secret` by default

* Further add validation

* Update snapshtos

* Fix newlining in templates

* Fixes after real testing against cluster

* More value docs + derive the default output name

* fixup! More value docs + derive the default output name

* Update cpsell

* Update Chart.yaml

* Appease prose linter

* Remove unused value

---------

Co-authored-by: hugoShaka <hugo.hervieux@goteleport.com>
2024-09-09 10:39:15 +00:00
Hugo ShakaandPaul Gottschling 9323ec295a Document the multiple Terraform provider setups (#44954)
* Document how to use the TF provider

* fix config.json

* fixup! fix config.json

* Address first feedback wave

* Apply suggestions from code review

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

* fix lint docs

* re-render TF docs

* workaround the broken vars in hcl code blocks

* Edits after testing the GCP docs

* Edits after testing the AWS docs

* Edits after testing the GHA docs

* Edits after testing the GitLab docs

* Edits after testing the CircleCI docs

* lint

* lint pt .2

* fix link after rebase + move resource import

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2024-09-05 16:09:29 +00:00
Paul Gottschling 17b395ecaa Ignore Operator references in the spellcheck (#46259)
Teleport Operator reference docs contain a large number of internal link
references that fail the spell checker. Until we find a more scalable
spell check workflow (#46191), ignore these reference docs in the spell
checker.
2024-09-04 21:39:44 +00:00
Paul Gottschling a513a50ccf Add a two-part Terraform starter guide (#44834)
* Add a two-part Terraform starter guide

Closes #41055

Add a learning series for users who wants to get started with managing
Teleport resources using Terraform. The guide takes the user through
some fundamental cluster setup tasks: deploying Agents, enrolling
resources, adding labels, configuring roles, and setting up SSO. The
series includes two guides:

- Part One: Enrolling resources
- Part Two: Configuring RBAC

Part One of the series is based on the "Deploy Agents with Terraform"
guide. This change adds instructions to the guide to label
infrastructure resources so the user can access those resources with the
roles configured in Part Two.

Other changes:

- Rename `agent-pool-terraform` to `terraform-starter`.
- Rename the "Dynamic Resources" guide to be more explicitly about
  Infrastructure as Code. Organize this section into subsections to make
  room for the new starter guide.
- Edit the Further Reading discussion in Part One. Move the static
  resource discussion to Further Reading because, otherwise, there is
  too much explanatory text between instructions. Also mention
  auto-discovery.

* Respond partially to hugoShaka feedback

- Fix link syntax.
- Set expectations that the child modules downloaded in the two guides
  are examples.
- Remove diagram with outdated logo.
- Use purpose-oriented names for TF files instead of `main.tf`
- Use `tctl terraform env` to get credentials

* Only deploy SSH Service in enroll-resources.mdx

Responds to hugoShaka feedback.

Resources that are not SSH servers registered via the SSH Service have
some complexities that don't make sense to cover in this guide. Instead,
for simplicity, the guide has the user deploy SSH Service instances,
then includes the possibility of enrolling other kinds of resources in a
"Next steps" section.

Changes:
- Remove the `agent_roles` input in the
  `terraform-starter/agent-installation` module.
- Only deploy a token for the Node role, and configure the Agents
  deployed by the module to only enable the SSH Service.
- Add an agent_labels input to the `agent-installation` module.
- Move non-server deployment instructions to "Next steps".

* Respond to thedevelopnik feedback

Note that you can skip the SSO step in the RBAC guide. Include links to
relevant docs.

* Respond to bernardjkim feedback
2024-09-04 20:19:33 +00:00
Vadym Popov c018568918 Add documentation for the log configuration (#45940)
* Add the log config documentation

* Fix incorrect ordering

* Review changes

* Fix linter
2024-08-30 21:29:05 +00:00
Krzysztof Skrzętnicki 91a9f3a6b7 Correct Arch Linux spelling (#46062) 2024-08-30 15:17:20 +00:00
a27499f63f Oracle Exadata docs (#45732)
* A handful of smaller fixes.

* Oracle Exadata guide.

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Reorganise, update doc.

* Update docs/pages/enroll-resources/database-access/enroll-self-hosted-databases/oracle-exadata.mdx

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

* Update docs/pages/enroll-resources/database-access/enroll-self-hosted-databases/oracle-exadata.mdx

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

* A few minor corrections and clarifications.

* Move to 'managed databases' from 'self-hosted'.

* Update index page.

* include intro for non-self-hosted dbs

* extend cspell.json with extra random words

* Fix lint warnings which are treated as errors.

---------

Co-authored-by: STeve (Xin) Huang <xin.huang@goteleport.com>
Co-authored-by: Roman Tkachenko <roman@goteleport.com>
2024-08-30 11:48:50 +00:00
Tim BuckleyandTiago Silva 03dba137cd Machine ID: Terraform Cloud joining (#45574)
* Machine ID: Terraform Cloud joining

This adds a new `terraform` join method, which uses Terraform Cloud's
Workload Identity OIDC provider to provide delegated joining support
for Machine ID bots. As the Terraform provider now embeds tbot, this
means - with some light modifications - that the Terraform provider
can now join using this join method, and without any secrets.

* Address some review feedback, add first batch of tests

This addresses a few feedback items, defaulting the audience to the
Teleport cluster name and requiring allow rules specify an
organization + at least one other parameter.

Also, adds a first batch of tests.

* Update autogenerated CRD docs

* Add tests for RegisterUsingToken and provisioning token init

* Fix imports

* Fix CRD docs

* Update tfschema

* Update tf docs

* Update docstring to make it clear that `Audience` is optional

* Update manifests

* Update CRD docs

* Code review feedback; docstring fixes

* Rename lib/terraform to lib/terraformcloud

* Rename terraform -> terraform_cloud

Renames the new join method to terraform_cloud to make it clear that
it won't work for TF running elsewhere (where other join methods
should be used)

* Fix tests and docs lints

* Update api/proto/teleport/legacy/types/types.proto

Co-authored-by: Tiago Silva <tiago.silva@goteleport.com>

* Update proto artifacts

---------

Co-authored-by: Tiago Silva <tiago.silva@goteleport.com>
2024-08-27 23:27:09 +00:00
Tim Buckley 6eadeb9feb Machine ID: Documentation for Bot Instances (#45295)
* Machine ID: Documentation for Bot Instances

This adds some basic documentation discussing what Bot Instances are
and how to inspect them.

* Fix docs lints

* Update cspell.json

* Fix docs lints; undo editor-induced whitespace changes in json

* Remove old references to "bot instances"
2024-08-26 23:32:47 +00:00
Grzegorz Zdunek 1407abc321 Add new terminal.shell and terminal.customShell config properties to docs (#45748)
* Add new `terminal.shell` and `terminal.customShell` config properties to docs

* Add `pwsh` to cspell.json
2024-08-23 16:10:18 +00:00
Noah Stride 5c86c4226d Add Envoy SDS support info to the spiffe-workload-api reference (#45633)
* Add Envoy SDS compatability to `spiffe-workload-api` reference docs

* Add some more comments to the Envoy example

* Update cspell
2024-08-21 08:48:29 +00:00
Noah StrideandPaul Gottschling 5108ac98fb Machine ID: Document Kubernetes Workload Attestation (#45369)
* Add KWA features into the machine id config reference

* Add example manifests for tbot service for workload attestation

* Update docs/pages/enroll-resources/machine-id/workload-identity/workload-attestation.mdx

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

* Add more detail to explanation of workload attestation

* Add table

* Update cspell

* Fix spelling of connect

* Fix spelling of attested

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2024-08-19 11:28:16 +00:00
Paul GottschlingandhugoShaka e272c842bd Auto-generate operator CRD docs (#44107)
* Auto-generate operator CRD docs

We already pull JSON schema data from Teleport protobuf message
definitions in order to generate CRD manifests. Extract a shared library
from code within the existing protoc plugin for generating CRDs. This
way, we can use the library to generate docs for our CRDs with a
separate plugin, and don't need to complicate the interface for using
the existing plugin.

- Organize `integrations/crdgen` into `lib` and `cmd` directories,
  turning `lib` into a package.
- Edit the `generateSchema` signature to include a function that formats
  a CRD into a document, injecting separate functions for formatting the
  CRD as YAML and as a docs page.
- Add Makefile targets for building the docs plugin and generating CRD
  docs.

To display the resulting reference pages in the docs, this change
configures `docs/config.json` to generate the Reference section of the
sidebar from the docs directory. This requires moving the Helm reference
includes directory into `docs/pages/includes`.

* Respond to hugoShaka feedback

- Do not display the `status` field.
- Indicate that enum fields can take an integer or a string. This is
  consistent with our comment conventions, which describe both the
  integer and the string values for each enum option.

* Sort CRD reference page sections

Also handle duplicate page sections by including the names of parent
properties within section headings.

* Fix crdgen Makefile targets

- bring test data and hack out of `lib/`
- fix broken debug builds
- add crd-docs checks to the `crds-up-to-date` target
- trigger proto lint on CRD and CRD doc changes
- removed stale gitkeep in `docs/pages/includes/crd-docs/.gitkeep`
- split crdgen formatting logic in another file for readability
- update license header years on new files

* fixup! Fix crdgen Makefile targets

* lint files due to false positive 'generated' comment

* fixup! lint files due to false positive 'generated' comment

* Incorporate rosstimothy feedback

Remove an unnecessary package.

Also regenerate the CRD docs.

* fix debug builds and gitignore

* fixup! fix debug builds and gitignore

* Respond to rosstimothy feedback

Fix integrations/operator/crdgen/Makefile

* Fix spelling

* Fix flaky propertyTable test

Compare the unsorted slice elements, since sorting takes place on the
containing VersionSection.

---------

Co-authored-by: hugoShaka <hugo.hervieux@goteleport.com>
2024-08-09 14:01:43 +00:00
Noah StrideandPaul Gottschling 87724d5499 Machine ID: Add examples to docs on using SSH multiplexer programmatically (#44676)
* Add examples on using SSH multiplexer programtically

* Update docs/pages/enroll-resources/machine-id/reference/configuration.mdx

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

* Add details blocks to collapse code

* Update cpsell

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2024-07-29 10:24:09 +00:00
Grzegorz Zdunek 981aed680f Enable ConPTY by default in terminals on Windows (#44468)
* Add `terminal.windowsUseConpty` config option

* Calculate `windowsPty` options

* Pass `useConpty` to node-pty

* Pass `windowsPty` to xterm

* Fix test

* Replace `terminal.windowsUseConpty` with `terminal.windowsBackend`, pass boolean all the way through

* Wait for pty processes to exit before closing the app

* Simplify `Array.from`

* `GRACEFUL_KILL_MESSAGE` -> `TERMINATE_MESSAGE`

* Adjust callsites to async `dispose`

* Add `winpty` to ignored words in `cspell.json`
2024-07-29 09:24:07 +00:00
STeve (Xin) Huang c159eb7b47 DocumentDB guide (#43888)
* DocumentDB guide

* update diagrams and add screenshots

* fix img link

* review comments

* address comments from Paul

* add docdb and sasl to spelling
2024-07-23 19:19:42 +00:00
Hugo Shaka d231462c18 Use new terraform-plugin-docs generator for TF reference (#42798) 2024-07-02 16:31:18 +00:00
Rafał Cieślak c68137880f Add custom DNS zone docs for VNet (#42846)
* Add custom DNS zone docs for VNet

* Link to VNet guide from web and TCP guides

* Add info about IPv4 CIDR range

* Add VNet config to resource reference

* Reword the first part of "How it works", use concrete example

* Move first uses of Var to Prerequisites

* Add dscacheutil instructions to end user docs

* Auth Server → Auth Service

* Mention HTTP APIs, clarify HSTS issue

* Correct info about IPv4 ranges

* Mention multiple TXT records on single domain

* Mention vnet.mdx in guides.mdx

* Add dscacheutil and osconfig to cspell

* Fix link to headers passthrough

* Fix yet another link
2024-06-21 16:13:37 +00:00
Noah StrideandPaul Gottschling 0fbdb4a14a Workload ID: Configuring AWS Roles Anywhere guide (#41649)
* Add initial structure of AWS roles anywhere guide

* More progress on roles anywhere guide

* Add more advice on SPIFFE ID structure

* Add guidance on updating user or bot roles

* Finish off AWS roles anywhere guide

* Fix broken link to AWS RA guide

* Missing `the`

* Add `rolesanywhere` to cspell

* Update docs/pages/machine-id/workload-identity/aws-roles-anywhere.mdx

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

* Update docs/pages/machine-id/workload-identity/aws-roles-anywhere.mdx

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

* Remove mentions of App Access for AWS

* Refer explicitly to Teleport Proxy Service

* Add how it works header

* Make deciding SPIFFE structure part of pre-requisites

* Update docs/pages/machine-id/workload-identity/aws-roles-anywhere.mdx

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

* Update docs/pages/machine-id/workload-identity/aws-roles-anywhere.mdx

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

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2024-06-21 10:20:36 +00:00
Gus Luxton 51c21d6c2b docs: Fix spellcheck for words introduced in v16 changelog (#43032) 2024-06-14 19:00:19 +00:00
116ee9a3da Add end user docs for VNet (#42550)
* Add end user docs for VNet

* Adjust copy of osascript and VNet panel

* Address lint errors

* Add section about connecting without VNet

Co-authored-by: Nic Klaassen <nic@goteleport.com>

* Log in to the cluster -> Log in to your Teleport cluster

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

* Try connecting to the app without VNet → Connecting to the app without VNet

Also, reformat section.

* Explain benefits of VNet without mentioning earlier Teleport versions

* Explain in Connect docs when to use VNet vs local proxy

* Add vnet to known words, fix typo

Otherwise spell check complains about vnet in links.

* web and TCP apps → TCP apps

* Add intro paragraph

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

* Update link to VNet docs

---------

Co-authored-by: Nic Klaassen <nic@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2024-06-14 11:10:59 +00:00
Hugo ShakaandGus Luxton 1b83165443 Add Teleport multi-region blueprint (#42239)
* Add Teleport multi-region blueprint

* cockroach -> sql code blocks

* add scaling section, s3 replication example, more links, improved wording

* Update docs/pages/deploy-a-cluster/multi-region-blueprint.mdx

* Fix typos and syntax

* Make vale a bit happier

* Apply suggestions from code review

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

* address missing gus feedback

* appease docs linter

* appease docs linter pt.2

---------

Co-authored-by: Gus Luxton <gus@goteleport.com>
2024-06-13 17:13:37 +00:00
Noah StrideandPaul Gottschling fef28ed255 Document new ssh-multiplexer service (#42746)
* Document new `ssh-multiplexer` service

* Update docs/pages/machine-id/reference/configuration.mdx

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

* Update notes to mention ssh agent

* Add to cspell

* Fix identation

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2024-06-12 14:31:18 +00:00