Commit Graph
102 Commits
Author SHA1 Message Date
Alex Fornuto 419acaa2e2 macOS-compatible grep (#22724) 2023-03-07 21:04:37 +00:00
9926da717c Server Access RBAC Docs page (#20246)
* Server Access RBAC Docs page

* verbiage change

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

* verbiage change

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

* verbiage change

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

* Addressed comments

* Verbiage update

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

* verbiage update

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

* verbiage update

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

* verbiage update

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

* wording update

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

* verbiage update

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

* change

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

* verbiage

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

* verbiage change

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

* verbiage change

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

* verbiage change

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

* verbiage change

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

* verbiage change

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

* verbiage change

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

* verbiage change

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

* Add trusted cluster def

* Update docs/pages/server-access/rbac.mdx

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

* Update docs/pages/server-access/rbac.mdx

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

---------

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-03-01 18:58:43 +00:00
Paul Gottschling 95df3ec2ae Add more info re: AWS credentials to the docs (#20964)
* Add more info re: AWS credentials to the docs

Closes #2781

- Add a partial for how to provide credentials to Teleport's AWS client.
  Since this includes adding environment variables to the file used by
  our systemd service, I also created a partial re: how to configure
  Teleport's systemd service and added these two partials to the
  relevant guides.

- Removed `Admonition`s that link to the docs re: AWS credentials in
  favor of the partial above. (The partial links to the Go SDK for AWS
  docs for situations where users have a specific use case.)

- Remove mentions of the AWS credential-related config settings from the
  Backends reference. The example config snippets don't actually include
  the `access_key` and `secret_key` settings, so these are left over
  from an earlier version of the guide. While you can still add these
  settings to a config file, I thought it would make sense to leave them
  undocumented since using an EC2 instance, environment variables, etc.
  is the recommended approach.

- Split the S3/DynamoDB sections of the Backends reference into
  subsections so the extra authentication info fits a bit better.

* Respond to PR feedback

* Add new partials to the RDS Proxy guide
2023-02-13 22:57:21 +00:00
Noah Stride e64ff8732a Remove "expires" from delegated joining docs (#21214) 2023-02-10 14:18:12 +00:00
Zac BergquistandAlex Fornuto a5932e3244 docs: remove references to old Teleport versions (#21099)
* docs: remove references to old Teleport versions

With the release of Teleport 12, the oldest supported version of
Teleport will be Teleport 10. This commit removes some references
to Teleport 7 and Teleport 8. The docs for those versions are no
longer available on goteleport.com, so it's safe to assume that
readers are on a more recent version.

* Update docs/pages/management/guides/joining-nodes-aws-ec2.mdx

---------

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>
2023-02-01 21:57:58 +00:00
Peter AbelnandZac Bergquist 6cf0053fe7 fix up teleport_acct script (#10093)
* Correct redirect syntax

Redirects are evaluated in order left-to-right so cloning err from out (`2>&1`) before redirecting stdout (`> /dev/null`) has the effect of sending stderr to fd 1 and stdout to the redirected file.

* Do not expand here document text

Avoids need to escape quotes and variable references in pasted script.

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2022-12-30 19:07:37 +00:00
Alex Fornuto 3fc2712a7d [Docs] Consolidate install partials (#19623)
* add version compatibility callout to Cloud section

* consolidate partial usage in various guides

* remove partial consolidated into

* Apply suggestions from code review
2022-12-29 18:26:56 +00:00
43faf51b1e fix: correct script path (#19607)
Co-authored-by: ThameezBo <thameez.bodhanya@finoa.io>
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2022-12-28 18:37:27 +00:00
Paul Gottschling e777e7abbe Reorganize early-stage docs sections (#19205)
* Reorganize early-stage docs sections

Closes #18127

Currently, there are two sections of the docs related to the earliest
stages of setting up Teleport, "Try out Teleport" and "Deploy a
Cluster". While the organization of our top-level docs sections attempts
to correspond to the stages a user goes through when setting up
Teleport, these combine some tasks that should probably be separated:

- **Choosing an edition and deploying a production cluster**: While the
  "Deploy a Cluster" section includes our deployment guides as well as
  our edition guides, user will likely commit to setting up Teleport
  Cloud, Open Source, or Enterprise before they plan a full HA
  production deployment.

- **Deploying a production cluster and deploying a small-scale Teleport
  cluster:** While the "Deploy a Cluster" section includes the Linux
  Server and Digital Ocean 1-Click guides, these two guides are more for
  small-scale deployments than full production clusters.

This change improves the early-stage docs experience for new Teleport
users by:

Splitting the "Deploy a Cluster" section
----------------------------------------

The "Deploy a Cluster" section includes subsections related to choosing
a Teleport edition as well as subsections related to deploying a
production cluster. The problem with this approach is that it leaves no
room for adding introductory guides to help users with these two
purposes.

By splitting the "Deploy a Cluster" section into two top-level sections,
one related to choosing an edition and the other to dpeloying to
production, we can add introductory pages that put the subsections of
these sections in context.

_This change accompanies the work on #16751 to write a general guide to
HA Teleport deployments, since the new guide will have a prominent
place in the reorganized "Deploy a Cluster" section._

Adding introductory pages
-------------------------

Sections related to getting started with Teleport, "Try out Teleport"
and "Deploy a Cluster", were missing introductory pages. This change
adds them, and also adds one to the new "Choose an Edition" section.

Moving the Linux Server and Digital Ocean guides
------------------------------------------------

Move these to "Try out Teleport". The Digital Ocean guide didn't fit
with the rest of the deployment guides, since it's not about
architecting an HA deployment.

This is also a better home for the "Linux Server" guide, so this change
moves that as well.

Removing the "getting-started.mdx" page
---------------------------------------

This page is not reachable via the navigation menu.

* Respond to PR feedback

* Respond to PR feedback

Also minor text tweaks
2022-12-22 13:34:06 +00:00
Alex McGrathandalexfornuto cc1774740d Re-add the section about EC2 instances including the AmazonSSMManagedInstanceCore (#19001)
* Re-add the section about EC2 instances including the AmazonSSMManagedInstanceCore

* spacing cleanup

* make the linter happy

Co-authored-by: alexfornuto <alex.fornuto@goteleport.com>
2022-12-02 21:39:37 +00:00
Paul Gottschling f89e734090 Create a partial for adding a role to a user (#18831)
* Create a partial for adding a role to a user

Closes #16697
Closes #18373

* Address PR feedback

* Edit the Kubernetes RBAC partial
2022-12-02 21:07:00 +00:00
Steven Martin debb6a8d67 spell fixes (#18935) 2022-11-30 19:21:24 +00:00
93c417f32a [Docs] Update EC2 Discovery guide for bootstrapping. (#18308)
* markdown linting and spacing

* update ec2 discovery for bootstrapping

* Apply suggestions from code review

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

* re-add invite token step

* remove sid

* document keys to adjust in example config

* Apply suggestions from code review

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

* Update docs/pages/server-access/guides/ec2-discovery.mdx

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

* add reference to docs on IAM tokens

* Apply suggestions from code review

Co-authored-by: Alex McGrath <alex.mcgrath@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* additional copy edits

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Alex McGrath <alex.mcgrath@goteleport.com>
2022-11-30 17:13:37 +00:00
Ben Arent 84f62181b0 Add Teleport 11 videos (#18605) 2022-11-18 23:14:23 +00:00
Jakub NyckowskiandPaul Gottschling b6545fee52 Add Auditd docs (#15530)
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-11-08 18:31:06 +00:00
Tiago Silva dea8dd7020 [docs] EKS & AKS auto-discovery docs (#17628)
Closes #17427
2022-11-07 22:48:01 +00:00
Paul Gottschling c56a862633 Restore the Ansible Server Access guide (#18134)
Closes #14692

PR #10987 repurposed the Ansible Server Access guide to be a Machine ID
guide. Since users still found use in the original Server Access guide,
this change restores that guide.

Note that this change does not attempt to edit the Ansible Server Access
guide, and simply restores it to the state it was in before #10987. The
Machine ID Ansible guide is left untouched.
2022-11-07 21:40:25 +00:00
Jakub NyckowskiandPaul Gottschling ce35cc4973 Add SFTP guide for JetBrains IDEs (#15588)
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-10-17 19:11:58 +00:00
Alex Fornuto 63912254a5 correct disable_create_host_user reference (#16798) 2022-10-17 13:19:04 +00:00
Steven Martin 87a80da26c spell fixes (#17374) 2022-10-13 15:34:19 +00:00
Alex McGrath 5a5c8f35b6 mention preview (#17331) 2022-10-13 09:37:06 +00:00
Steven Martin d1dc374998 Instructions updates for EC2 Auto Discovery (#17356)
* Instructions fixes

- Missing Effect Allow for teleport discover service policy
- Incorrect URL for installer script

* Troubleshooting

* Formatting
2022-10-12 22:20:42 +00:00
Alex McGrath d18031ae71 Add docs for EC2 instance discovery (#16279)
* initial doc for ec2 instance discovery

* Resolve review comments

* Resolve review comments

* Resolve review comments

* resolve some review comments

* introduce discovery node in the initial paragraph

* Resolve comments
2022-10-05 14:53:39 +00:00
Ryan Clark 806a568ada Introduce config v3, add auth_server and proxy_server, remove auth_addresses (#15761) 2022-09-28 15:30:15 +00:00
Alex Fornuto 7559be43cb Update download link. (#16543)
* update DL links

* fix links

* remove preceding slash from includes with download link

* fix indentation
2022-09-27 18:44:02 +00:00
Evan Corkrean af61fd904e Correcting "yml" to "yaml" (#14809) 2022-09-08 00:07:52 +00:00
Steven Martin 368f3c31ab Spell fixes (#16120) 2022-09-06 15:07:25 +00:00
Paul Gottschling ec148983f2 Fix minor issues that impact SEO (#15739)
- Fix broken links, including some that resulted from an unintended bulk edit
- Add a description to a page that was missing one
2022-08-29 16:34:38 +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
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
Reed Loden 18c94db3a2 docs: Add additional known issues to BPF-based enhanced session recording security warning (#15294)
Ref gravitational/teleport.e#330
2022-08-08 16:11:58 +00:00
Steven Martin 39554221a1 VSCode remote ssh extension settings (#15267)
Update instructions to include setting the required values in the VS Code plugin for Remote SSH.
2022-08-05 23:22:18 +00:00
Reed Loden bc4732870d docs: Add security warning to BPF-based enhanced session recording about known issues (#15191)
Ref gravitational/teleport.e#330
2022-08-04 19:44:12 +00:00
Ben Arent 6fe1c8e27e Updated Teleport 10 Getting started videos (#14870)
Teleport 10 video
2022-07-26 18:38:53 +00:00
Steven Martin 83256ed760 Spelling Fixes (#14815)
* Misspelling fixes
2022-07-23 20:24:45 +00:00
Rafał Cieślak 8007a25186 Move the tsh guide to the new "Use Teleport" section (#14636)
* Move the tsh guide to the new "Use Teleport" section

This new section will be a good place to add Connect docs to in the near
future.
2022-07-20 08:32:53 +00:00
Zac Bergquist 8ab8598af0 Clarify session joining prerequisites (#14149)
Fixes #1968
2022-07-11 20:11:05 +00:00
UlyssesandGavin Frazar 9333a4eab9 Fix username in example (#14276)
If we are following the example, we should be grepping for the user created directly above this command to see if it was deleted.

Co-authored-by: Gavin Frazar <gavinfrazar@gmail.com>
2022-07-11 12:37:54 -07:00
Jakub Nyckowski b110d64b35 Correct network_restrictions resource version in docs (#14213) 2022-07-11 17:13:40 +00:00
Alex McGrath b5d380905e Fixes and clarification of host user creation docs (#14133)
Clarify host user creation docs
2022-07-06 16:03:56 +01:00
Alexander Klizhentas 7d5b73eda3 docs: remove blocks hiding content and scope links (#14085)
remove blocks hiding content and scope links, fixes #14052
2022-07-05 11:00:54 -07:00
Alex McGrath e55cb9857d Add documentation for automatic host user creation (#13056) 2022-07-05 14:25:52 +00:00
Ben Arent fc4908e4b4 Update Header Videos for Getting Started. (#13945)
* Update Video URL

* extra labs and video update
2022-06-29 17:52:53 +00:00
Brian Joerger 1254ec140b Add OpenSSH Proxy Jump docs (#13170) 2022-06-24 17:20:25 +00:00
Alexander Klizhentas 7fc8f4dfd6 Refactoring of architecture section. (#13651)
Our architecture section was written almost 5 years ago
and was completely obsolete.

I refactored all of it to be up to date, added Kuberentes
and other resource type references, replaced and created new diagrams.
2022-06-23 18:39:49 +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
Brian Joerger 7ce55a72b4 Add tsh docs for x11 forwarding (#13647) 2022-06-22 17:46:16 +00:00
Paul Gottschling 839a5c2d41 Ensure tctl commands include login instructions (#12944)
* Ensure tctl commands include login instructions

See #10192

Add the tctl.mdx partial or a "tsh login" command in some pages that
include example tctl commands. Note that this change does not address
SSO guides, which will be handled separately.

Where a guide requires a complete restructuring to provide full context,
"docs/pages/application-access/guides/connecting-apps.mdx", I've added
"tsh login" instruction above the first tctl command.

* Respond to PR feedback
2022-06-21 15:45:06 +00:00
Paul Gottschling d3db006514 Remove outdated Ansible guide link (#12767) 2022-06-21 15:09:06 +00:00
Paul Gottschling 27c38c7eee Make the OpenSSH guide more usable (#12183)
* Make the OpenSSH guide more usable

See #11841

- Add a Prerequisites section and divide the instructions into steps via
  H2 headings.
- Use ScopedBlocks to add instructions for Cloud users.
- Fill in missing instructions (e.g., adding host_cert permissions for
  Cloud users and editing the file permission of the host key/cert)
- Since all supported versions of Teleport now include "tsh config,"
  remove the manual OpenSSH configuration option. This makes the guide
  much simpler to follow.
- Add a Details box explaining "tsh config" The original OpenSSH guide
  included some technical details about the proxy subsystem, but
  without enough context to understand the configuration generated by
  tsh config. I've moved the technical details into a Details box, and
  expanded them, so readers interested in how the local SSH config they
  generate via "tsh config" works.
- Indicate that you need to specify the SSH port when connecting to an
  OpenSSH host via configuration generated by tsh config.

* Respond to PR feedback
2022-06-06 14:54:43 +00:00