Commit Graph
59 Commits
Author SHA1 Message Date
85fdb2ce59 Machine ID telemetry docs (#22541)
* Start writing Telemetry docs

* Add description of events

* Update examples with TELEPORT_ANONYMOUS_TELEMETRY

* Add note on Telemetry

* Fix SPAG in telemetry docs page

* Correct link in guides/ for telemetry page

* Fix link on reference index page

* Update docs for GH action examples

* SPAG

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

* kubernetes -> Kubernetes

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

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

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

* Fix list punctuation

* Don't break user reading flow in guides

---------

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-03-06 11:46:30 +00:00
Steven MartinandNoah Stride 80fd08f999 Add docs steps to create machine-id data dir and systemd enablement (#22463)
* Add steps to create machine-id data dir and systemd enablement

* verbiage update

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

* Change daemon-reload to enable for systemctl

---------

Co-authored-by: Noah Stride <noah.stride@goteleport.com>
2023-03-01 15:36:16 +00:00
Paul GottschlingandAlex Fornuto a93aaa7e6e Fix linter issues (#21677)
An issue with `gravitational/docs` caused the docs linter to stop
catching issues for a period of time. Now that we have addressed the
linter issue, this change addresses warnings/errors flagged by the
linter.

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>
2023-02-13 17:07:00 +00:00
Noah Stride e64ff8732a Remove "expires" from delegated joining docs (#21214) 2023-02-10 14:18:12 +00:00
Paul Gottschlingandalexfornuto 6119236310 Explain Kubernetes RBAC more comprehensively (#20730)
* Explain Kubernetes RBAC more comprehensively

Closes #18230

This change explains Teleport's RBAC system in relation to the Teleport
Kubernetes Service. The docs didn't leave me with a readily available
place to put this information, since explanations of Kubernetes-related
role fields are scattered in asides throughout various pages.

As a result, I have added a more comprehensive, focused explanation of
Teleport's Kubernetes RBAC system in two places:

- A new how-to guide for setting up Kubernetes RBAC with Teleport using
  a local `minikube` cluster.
- A reference guide that explains the Kubernetes-related fields within a
  Teleport role as well as the logic that the Kubernetes Service uses to
  evaluate these fields. This replaces the existing Kubernetes Access
  Controls guide.

To make room for the RBAC how-to guide, I've reorganized the other
guides into a logical sequence: enabling auto-discovery, manually
registering clusters, and setting up access controls.

I've also edited the Resource Access Requests guides to explain role
fields for the different resources you can restrict access to via
`search_as_roles`, including `pods`.

* Partially respond to PR feedback

- Add `kubernetes_labels` to example snippets
- Rename a misleading H5 in the Resource Requests guide
- Make the description of impersonation more accurate in the Access
  Controls guide
- Move a Notice in the Access Controls guide
- Add an example role to the warning re: namespace restrictions in the
  Access Controls guide
- Make resource filtering info more accurate in the CLI reference

* Change the RBAC how-to guide

Use Deployments in the demo cluster instead of Pods, showcasing the use
of regular expressions in per-pod RBAC.

This responds to PR feedback.

* Provide an example of internal traits

This responds to PR feedback

* Add notes about regex support

Responds to PR feedback

* Explain multiple values in labels

Responds to PR feedback

* Document progressively enabling access to pods

In response to PR feedback

* unbreak redirect

* copy edits

* more copy edits

* Respond to alexfornuto feedback

---------

Co-authored-by: alexfornuto <alex.fornuto@goteleport.com>
2023-02-06 19:00:30 +00:00
2c565f2a0d Buddy PR for #20775 (#20832)
* fix: small typo in circleci bot guide

* fix: add v to tar command

---------

Co-authored-by: Nick Van Dyck <vandyck.nick@outlook.com>
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2023-01-27 18:19:13 +00:00
Noah StrideandPaul Gottschling 55b659ca5a Document Machine ID and CircleCI joining (#20009)
* Add CircleCI doucmentation page

* Add configuration for CircleCI

* Add headings

* Start filling out instructions for configuring CircleCI joining

* Start fleshing out CircleCI config explanation

* Add CircleCI guide to indexes

* Add more explanation

* Updated workflow that fetches the teleport binaries

* Move initial notes on context:

* Change directory for datadir

* reference clopud tenant

* tiodying

* Explain CircleCI contexts

* Add intro

* fix sentence casing in title

* We -> You

* Fix config key

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Update docs/pages/machine-id/guides/circleci.mdx

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

* Reflow markdown PR comment changes

* Move replacement guidance to after config block

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-01-18 16:20:20 -07:00
Noah StrideandAlex Fornuto edb19a1adf Machine ID and GitHub Actions docs copy improvements (#20260)
* spag changes

* Use `tctl` partial

* Further readability changes

* "we" -> "you"

* Further succincty

* Adjust referneces

* show format

* Finaly few copy fixes

* missing y

* Update docs/pages/machine-id/guides/github-actions-kubernetes.mdx

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

* Clarify Teleport user privs

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>
2023-01-17 17:25:38 +00:00
Steven Martin 240739ecb5 spell fixes (#20237) 2023-01-17 02:54:55 +00:00
dbe690599f Document GitHub Actions and Kubernetes (#19911)
* GHA Kubernetes and docs tidying

* spag adjustments

* "GitHub Action" -> "GitHub Actions"

* Update docs/pages/includes/machine-id/github-actions-create-token.mdx

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

* Update docs/pages/includes/machine-id/github-actions-create-token.mdx

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

* More explicitly explain what the token input should be

* Correct "KUBE_CONFIG" -> "KUBECONFIG"

Co-authored-by: Tim Buckley <tim@goteleport.com>

* Add application access link

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
Co-authored-by: Tim Buckley <tim@goteleport.com>
2023-01-13 08:53:57 +00:00
Noah StrideandZac Bergquist 503a2731ca Update documentation for GitHub joining to use actions (#19775)
* Fix Teleport version

* Update GitHub actions guide with new actions and GHES support

* Fix SPAG

* Add note on ommitting -i

* Changes notes order to make things make more sense

* Apply suggestions from code review

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

* More spag tidying in github actions article and removed some chaff

* Fix SPAG

* Introduce next steps sectionm

* Add missing hyphen

* Move Enterprise instructions to tabbs

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2023-01-05 21:55:04 +00:00
Noah Stride 55d1b899cf Remove duplicate expires field in GH join docs (#19704) 2022-12-28 20:05:09 +00:00
Paul Gottschling 7d968a282b Add Enterprise installation instructions (#19552)
This addresses some observations from @stevenGravy about a couple places
in the docs where Enterprise-specific installation steps are missing.

- Edit the Machine ID Getting Started guide: Use the `install-linux.mdx`
  partial for download instructions, since these include instructiosn
  for Enterprise users.

- Add Enterprise instructions to Helm guides that only include OSS
  installation instructions.
2022-12-21 22:15:54 +00:00
Noah Stride ce9af8943e Update docs with new location of setup GitHub Action (#19221) 2022-12-09 08:44:23 +00:00
Paul Gottschling 419f687ffa Remove mentions of "setup" as a verb (#18842)
Closes #9683

To reduce confusion, we should use "set up" as a verb, rather than
"setup", and treat "setup" only as a noun.

Note that one use of the term "setup" as a verb is in the Jira Server
guide, which #17546 intended to remove, but neglected to. This change
removes that instance of "setup" along with the rest of the surrounding
guide.
2022-11-30 21:18:58 +00:00
Noah StrideandPaul Gottschling 9a5bd87d10 Update MachineID docs to note that GH Actions support includes self-hosted runners (#18338)
* Note that GH Actions support includes self-hosted runners

* Update docs/pages/machine-id/guides/github-actions.mdx

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

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-11-10 15:53:33 +00:00
Noah Stride 0cff6f960a Minor tweaks for GitHub Machine ID integration docs (#18251)
* Minor tweaks for GitHub Machine ID integration docs

* Update FAQ section on Machine ID CI/CD

* Add handy dandy version warning details

* Fix capitalization of link

* Fix readability of initial sentence
2022-11-08 15:25:37 +00:00
0e21fe0f71 Machine ID GitHub Actions guide (#17798)
* [Docs] Using Machine ID with Github Actions

* remove skip-version-check

* strideynet recs

* fix spacing

* example fixes, spacing

* optimize image

* adjust capitalization for GitHub and GitHub Actions

* alphabetize machine ID guides partial

* add new page to sidebar and guides index partial

* tech/copy fixes

* separate tokens from bot

* allow block improvements

* spec.bot_name tense fix, clarifications

* Privelege -> privilege

* tense fixes for allow block

Co-authored-by: alexfornuto <alex.fornuto@goteleport.com>
Co-authored-by: Noah Stride <noah.stride@goteleport.com>
2022-11-03 20:08:41 -04:00
Steven Martin 0673d9e06b spell fixes (#17988) 2022-11-01 15:09:20 +00:00
rsyracuse 6324bc58ad [Docs] Machine ID Host Certificate Support (#16989)
* [Docs] Machine ID Host Certificate Support

* general tech edits

* broken link fix

* typos/principal clarifications

* typo/spacing fix

* strideynet improvement

* ptgott fixes

* closing tab fix

* some additional copy fixes

* role fix

* heading fix

* clarify hosts involved

* scope fixes/spelling

* final-steps

* afornuto copy edits

* tech fixes, principal/openssh
2022-10-31 14:38:51 -04:00
Hugo Shaka 0d6adaa50a Standardize systemd LimitNOFILE (#17893)
Actual LimitNOFILE varies greatly between the systems as it depends on the
systemd version and the go version used to build Teleport. The goal of this
commit is to run Teleport in the same setup, regardless of the distro nor
Teleport version.

New systemd defaults are 1024:524288, and starting with go 1.19, go process can
increase their soft limit up to the hard limmit dynamically. Old systemd
versions don't suppoprt `soft:hard` notation and old go versions don't
automatically increase up to the hard limit. For this reasons, the most
compatible setting is to set softlimit=hardlimit=524288.
2022-10-31 16:56:02 +00:00
rsyracuse 6c428e7c7d General improvement to CLI reference for Teleport daemon and more (#15974)
* General improvement to CLI reference for Teleport daemon and more

* fix link

* add tbot/fixes

* address config yaml

* broken link/incorrect command

* address comments/fixes

* broken link

* ptgott fixes

* end sentences

* [Updates} Fix broken Link

* remove header

* ptgott updates

* ptgott new addition

* replace tbot reference w/ CLI, spelling/tab error fixes

* remove cli from config.json

* fix link

* list item spacing
2022-10-27 18:38:49 -04:00
Noah Stride 4568e351e0 Document tbot configure (#16254)
* Document `tbot configure`

* Correct markdown table formatting.
2022-09-13 15:57:46 +00:00
Steven Martin 368f3c31ab Spell fixes (#16120) 2022-09-06 15:07:25 +00:00
361d2974e7 Add architecture guide for Machine ID (#15566)
* Add architecture guide for Machine ID

* Adjust indentation per linter rule

* Update docs/pages/machine-id/architecture.mdx

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

* Update docs/pages/machine-id/architecture.mdx

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

* Update docs/pages/machine-id/architecture.mdx

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

* Update docs/pages/machine-id/architecture.mdx

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

* Add section on joining and renewable certificates

* spag

* Add notes on bot creation, user and token.

* Clarify bot destination configuration

* Adjust indentation

* Start fleshing out notes on file permissions

* Finish filesystem permissions section

* Update docs/pages/machine-id/architecture.mdx

Co-authored-by: Tim Buckley <tim@goteleport.com>

* Address Tim's PR comments

* spelling correction

* Apply suggestions from code review

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

* Address a few docs structure comments

* Furth restructure architectural guide

* spag

* Avoid using the "static" terminology in reference to tokens.

* appease linter no-heading-punctuation

* Use paragraphs rather than ordered list for tbot actions

* Add notes on "destinations"

* Improve the way that the tbot section reads

* Add notes on daemon vs oneshot.

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Tim Buckley <tim@goteleport.com>
2022-09-01 08:50:04 +00:00
Noah Stride 65c418e4a9 Add Machine ID FAQ section on per-session MFA (#15756)
Add FAQ section on per-session MFA
2022-08-24 17:56:50 +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
Noah Stride 843d9d6a7b Reorganise Machine ID docs (#15522)
* Move Machine ID support matrix into the introduction page

* Link to Machine Id specific guides in support matrix

* Add Machine Id guides to introduction page

* Move machine id guides to includes

* Fix links to guides

* Remove already-answered question from FAQ
2022-08-16 16:19:06 +00:00
Tim BuckleyandPaul Gottschling 1c2c5d07b0 Add Machine ID Kubernetes and Apps guides (#14976)
* Add Machine ID Kubernetes guide and partial Apps guide

* Small wording tweaks to the k8s guide

* Rename menu titles to match convention

* Fix inaccurate CA cert recommendation on the API access guide

* Tidy up the Kubernetes guide

* Finish up first pass on Apps guide

* Remove empty admonition

* Address review feedback

* Fix doctest lints

* Apply suggestions from code review

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

* Address a batch of review comments

* Apply suggestions from code review

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

* Address further review comments

* Apply suggestions from code review

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

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-08-12 19:50:09 +00:00
Noah StrideandPaul Gottschling 7c904714e9 Machine ID support for Logins trait (#15117)
* Support user traits in impersonated role certificates

* Add param to tctl bots add for specifying logins

* Update comment on desiredAccessInfoForRoleRequest to be mroe accurate

* Update docs for --logins support with Machine ID

* Rearrange bot tests and name them more in-line with standards

* Add test coverage for Server.createBot

* Test role impersonation preserves user traits

* pass traits directly into desiredAccessInfoForRoleRequests

* Drop underscores from test names

* Remove unnecessary initialization of traits

* Address PR comments

* Update docs/pages/machine-id/getting-started.mdx

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

* Update docs/pages/machine-id/getting-started.mdx

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

* Update docs/pages/machine-id/getting-started.mdx

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

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-08-12 12:06:38 +00:00
Paul Gottschling e3b1c2906e Replace Tile components with lists of links (#15266)
This change replaces all `Tile`s in the docs with lists of links. This
achieves two things:

- Helps us move toward a more text-focused look and feel for the docs.
  See gravitational/docs#93.
- Makes it easier to reorganize the docs. Currently, there's no linting
  for internal links in `Tile` hrefs (See gravitational/docs#100).

I used this script to edit each docs page, invoking the script for all
MDX files in docs/pages:

```
gawk '
    BEGIN{inopentag=0; indesc=0; desc=""; title=""; href="";}
    /<\/?TileSet>/{next;}
    /<Tile/ {
        inopentag=1;
    }
    inopentag==1 && /title=/{
        title=gensub(/.*title="([^"]+)".*/, "\\1", "g", $0);
    }
    inopentag==1 && /href=/{
        href=gensub(/.*href="([^"]+)".*/, "\\1", "g", $0);
    }
    inopentag==1 && />/ {
      inopentag=0;
      indesc=1;
      next;
    }
    indesc==1 && !/<\/Tile/{
        gsub(/(\n|\t|\s{2,})/," ",$0);
	desc=desc ($0);
	next;
    }
    /<\/Tile/{
        print "- [" title "](" href "):" desc;
	indesc=0;
	desc="";
	title="";
	href="";
	next;
    }
    inopentag==0 && indesc==0{ print $0 }

' $1 > "$1.tmp";
cat "$1.tmp" > "$1";
rm "$1.tmp";
```

I then cleaned up each file changed by the script and fixed any
incorrect URLs.
2022-08-10 22:27:31 +00:00
c9a8551046 Machine ID docs: Trusted Cluster support (#15196)
* Add FAQ and Troubleshooting docs for Machine ID

* Apply suggestions from code review

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

* Address feedback on the troubleshooting guide

* Address review feedback

* Resolve doctest failure

* Add Machine ID FAQ regarding trusted cluster support

* Update docs/pages/machine-id/faq.mdx

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

Co-authored-by: Tim Buckley <tim@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2022-08-05 23:03:36 +00:00
Tim BuckleyandPaul Gottschling 47d535cae9 Add FAQ and Troubleshooting docs for Machine ID (#14871)
* Add FAQ and Troubleshooting docs for Machine ID

* Apply suggestions from code review

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

* Address feedback on the troubleshooting guide

* Address review feedback

* Resolve doctest failure

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-08-04 22:35:22 +00:00
Steven Martin 83256ed760 Spelling Fixes (#14815)
* Misspelling fixes
2022-07-23 20:24:45 +00:00
Gus Luxton 8083c71d7d Update port used in Machine ID database guide (#14659)
We should recommend connection to the proxy on port 443 rather than the auth server on port 3025.
2022-07-20 17:27:11 +00:00
Ryan Clark 3e3b9b42b5 Change tbot to allow reading the token from a file (#14087)
This changes tbot's configuration to access the token via a
getter/setter instead of a direct property, to allow us to fetch the
token (possibly reading it from a file) when we need it instead of when
the configuration is created.

This also changes the identity fetching logic, to try and read the token
when there is an identity present but not error, allowing for the token
file to have been deleted between restarts. If it can read the token,
it'll check to see if it has changed and refetch the identity if so.
2022-07-13 15:48:08 +00:00
22c92bc003 Added Machine ID guide for database access from custom apps (#13226)
* Added Machine ID and Web Apps Guide.

Co-authored-by: Tim Buckley <tim@goteleport.com>

* Update reference pages with latest v9.3 content

Also, update the mongodb example

* Address review feedback

* Remove unfinished though and fix a few typos

* Tweak wording for the webapps guide

Also, fix broken lints in the go examples.

* Fix Postgres example

* Rename "webapps" guide to "database" guide (with custom app)

* Apply suggestions from code review

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

* Address review feedback

* Fix go.mod issue breaking linter, remove duped postgres library

* Fix broken links

* Rephrase the final sentence a bit.

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

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

* First batch of review feedback

* Apply more suggestions from review

* Restore original go.sum / go.mod

* Show different version requirement text for cloud vs OSS/enterprise

* Add small note about `tbot db` limitations

* Add new Machine ID / Database Access diagram

* Fix lint errors

* Fix broken link

* Apply suggestions from code review

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

* Address review feedback

* Fix whitespace

* Address review feedback

* Update docs/pages/machine-id/guides/databases.mdx

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

Co-authored-by: Russell Jones <rjones@gravitational.com>
Co-authored-by: Noah Stride <noah.stride@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-07-07 23:50:31 +00:00
Paul Gottschling 8c2ced7e2b Add context to "tsh ls" in docs (#12583)
* Add context to "tsh ls" in docs

Fixes #7051

- Create a partial for how the Teleport Auth Service filters Nodes
  based on user roles/logins in response to queries.
- Add the partial to provide context for example commands that include
  "tsh ls".
- Make our existing text on Teleport's authorization checks clearer
  by enumerating the checks in the order they are executed in
  services.RoleSet.CheckAccess.

Note that this does not change guides that instruct the user to create
a new user and role, since a user following these guides will see the
correct "tsh ls" output.

* Respond to PR feedback
2022-06-23 17:22:56 +00:00
Paul Gottschling d7ca93195d Edit the Machine ID getting started guide (#12868)
* Edit the Machine ID getting started guide

Fixes #11806

- Add more scope-specific information to the Prerequisites section
- Add the tctl.mdx partial to make it clearer for each scope how to
  connect to the cluster to run tctl commands.
- Add the Cloud tenant address to the "tbot start" example command for
  Cloud users.

* Respond to PR feedback
2022-06-21 15:20:27 +00:00
0fcaf92d25 Fix resource links (#12840)
* Fix resource links

Fixes #12839

Some video links still refer to the outdated "/teleport/" path.
This change adds the videos these links refer to to the "img"
directory and updates the links.

Note that two of the three MDX files that are changed here do not
actually render the video. I've changed the links here anyway in
case someone uses these as a reference for the link format.

* Apply suggestions from code review

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

Co-authored-by: Ben Arent <ben@goteleport.com>
Co-authored-by: Roman Tkachenko <roman@goteleport.com>
2022-06-10 20:59:59 +00:00
Paul Gottschling 3ef5cd8ee9 Edit tctl instructions to clarify remote login (#12525)
* Edit tctl instructions to clarify remote login

Closes #11464

- Ensure that all example tctl commands are accompanied either by
  instructions to log in to the cluster or the tctl.mdx partial.

- Edit the guides in the Architecture section to remove notes that
tctl can only be used locally to the Auth Service.

- Edit the user-client-rereqs partial to mention tctl for all
  editions, since you can log in to tctl remotely for all editions.

Not editing guides where:

- tctl is run via kubectl exec
- tctl is not mentioned in a code block, i.e., only in passing, and
  a reader isn't expected to run the command on their own while
  following the guide.
- The user is already expected to run tctl on the Auth Service. The
  docker-compose Getting Started guide is an example of this.

* Respond to PR feedback

- Provide more context on authenticating with tctl in the CLI reference
- Update the link to more information re: tctl in the architecture
  overview, and indicate that tctl users must authenticate.
- Minor tweaks.

* Respond to PR feedback

- Rephrase the authentication paragraph in the Architecture Overview.
2022-05-26 15:11:27 +00:00
Paul Gottschling fd332a6039 Replace title-less Details boxes with ScopedBlocks (#12358)
We will be adding a linter rule that prohibits Details boxes that lack
titles, letting us implement the ability to link directly to a Details
box. In some places in the docs, Details boxes are used purely to
adjust the visibility of Markdown based on scope. Now that we have a
ScopedBlock component, we can use this instead.
2022-05-12 18:23:31 +00:00
Russell Jones 6716171684 Updated release dates in Machine ID documentation. 2022-05-02 13:59:14 -07:00
Gus Luxton e87f3e5f52 docs: Machine ID update (#12154) 2022-04-21 19:19:58 -03:00
Zac Bergquist 8433eec985 Fix reference to tbot start --oneshot (#12064) 2022-04-20 03:01:37 +00:00
Steven Martin 2d95a8717e Update machineid ansible guide for required tools (#12059)
enterprise/cloud shouldn't be required.  also didn't include tsh.
2022-04-19 15:31:24 +00:00
Russell Jones 651dd98a95 Updated Getting Started Machine ID Guide. 2022-04-07 18:36:55 -07:00
Russell Jones 8c241cbac4 Updated Ansible Machine ID Guide. 2022-04-07 18:36:55 -07:00
Russell JonesandPaul Gottschling 42da34d4e4 Updated Jenkins Machine ID Guide.
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-04-07 18:36:55 -07:00
Russell Jones 24a7c55ddd Added admonition about TLS Routing and Machine ID. 2022-04-04 09:10:21 -07:00