Commit Graph
28 Commits
Author SHA1 Message Date
Zac Bergquist bdc47fca62 Improve tctl auth export docs/help (#22589)
Ensure that valid export types are listed in both the --help
message and the CLI documentation.

Closes #22218
2023-03-06 19:24:33 +00:00
Steven Martin dc55b34ddb Add GCP Service Account parameter to tctl users add reference (#22304)
* Add GCP Service Account parameter to tctl users add reference

Only applies to master and branch/v12

* Moved azure identities parameter next to other cloud apis ones
2023-03-02 15:53:49 +00:00
Steven MartinandZac Bergquist ec25c66cbf Remove windows from teleport start reference roles table (#22318)
* Remove windows from teleport start roles table

* comma sep list

* correct char

* spacing

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

---------

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2023-02-27 23:27:06 +00:00
Steven Martin 69d55393cf Remove non-applicable roles from teleport start --roles reference (#22305)
Only proxy, node, auth, db, or app are applicable roles.  Windows desktop and kube are not supported roles with `teleport start --roles=...`.   The default roles if none is specified is proxy, node and auth.

  Previously the tokens add would show the command to include these as a role.  That was incorrect and has been corrected.
2023-02-27 15:10:08 +00:00
Steven MartinandPaul Gottschling 05ee504e71 Add CLI doc changes after new client only parameter for tsh version (#22160)
* Add CLI doc changes after new client only parameter for tsh version

* verbiage change

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

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-02-25 03:15:21 +00:00
JoelandAlan Parra 1866507b01 Add docs for Device Trust tctl commands (#22154)
* add device spec docs

* format specifics of key

* add yaml tag

* add collected data

* cli ref update

* Update docs/pages/includes/device-spec.mdx

Co-authored-by: Alan Parra <alan.parra@goteleport.com>

* update example

---------

Co-authored-by: Alan Parra <alan.parra@goteleport.com>
2023-02-23 17:35:44 +00:00
Nic Klaassen abc99073d3 docs: login rule docs (#21195) 2023-02-14 18:26:32 +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
Evan Corkrean 88aff2a2b6 correct tsh scp docs (#20235)
the -P flag is unnecessary
2023-02-06 23:55:05 +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
Paul Gottschlingandalexfornuto a604a2bc1d Document Google Cloud CLI access (#19905)
* Document Google Cloud CLI access

Closes #17584

- Add a guide to configuring and using Google Cloud CLI access via the
  Teleport Application Service.

- Since we now have three guides to setting up secure access to cloud
  APIs, create a new subsection of the "Application Access" docs section
  related to cloud provider APIs.

* Respond to PR feedback

- Capitalize "JSON Web Tokens"
- Edit the AWS guide's nav bar entry
- Fix garbled section in the App Access intro page
- Improve the service account name we use in the how-to guide
- Clarify the way the App Service uses a service account
- Add new env vars to the `tsh proxy` command output
- Other small changes in response to suggestions/comments

* Edit instructions for starting the VM

Add instructions to launch a new VM with a service account attached.
This addresses feedback on the PR.

* Use more precise terminology for service accounts

This addresses feedback on the PR

* Add information about `tsh gsutil`

This adds to both the Google Cloud API access how-to guide and the CLI
reference.

* Respond to PR feedback

* use nobr tags

* fix multiline command

---------

Co-authored-by: alexfornuto <alex.fornuto@goteleport.com>
2023-02-03 16:45:53 +00:00
Alan Parraandalexfornuto d0affe9c76 Add public docs for device trust (#20954)
* Add device trust documentation

* Link to Device Trust from Access Control pages

* Document `device_trust` authentication section

* Document the `tsh device enroll` command

* Document `tctl devices` commands

* Review: Explain macOS restriction in text

* Review: Address Alex's comments

Indents, markdown style, code block style, punctuation and missing
words.

* Review: Use diff blocks on `tctl edit` example

* Review: Use diff blocks in other examples

* Review: Use standard example names

* Review: Address Alex's comments (2)

Uppercase SERIAL, macOS enroll notice, config example tabs.

* Review: Sort `tctl devices` commands alphabetically

* Review: Use config variables for asset_tag and enroll_token

* Review: Remove '#' from code blocks in cli.mdx

* combine warning and ScopedBlock

A ScopedBlock for OSS will never render on a page not scoped for OSS. This way, it's always visible. Once the feature is out of preview, we can just remove the first line.

* clarify device trust between trusted clusters

This addition dispells any assumptions made by the reader that applying device trust to root clusters would enforece the setting on leaf clusters.

* update enterprise tctl version output

---------

Co-authored-by: alexfornuto <alex.fornuto@goteleport.com>
2023-02-02 20:43:51 +00:00
Zac Bergquist 206511a90b docs: document tctl edit command (#19748) 2023-01-04 20:39:46 +00:00
Steven Martin c5e4355f96 Add tsh proxy types aws,db,ssh to CLI ref (#17716) 2022-12-29 16:15:42 +00:00
Russell JonesandPaul Gottschling 431d6e486e Added documentation for Access Requests TTLs.
Added documentation for Access Requests TTLs.

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-12-22 14:52:26 -08:00
Paul Gottschlingandalexfornuto da186f9b5a Document Azure CLI access (#18979)
* Document Azure CLI access

Closes #17583

- Create a guide to Azure CLI access
- Update references to reflect changes to roles, commands, and the file
  config

* Respond to alexfornuto feedback

* Add a section to the guide on `tsh proxy azure`

* Respond to smaller feedback items from Tener

* Switch the order of role approaches

Responds to one item of feedback from Tener.

* Respond to zmb3 feedback

* Document new behavior

- Wildcards in `deny` rules
- The `tsh proxy az` alias

* Add SSO instructions for defining a role

* Update env var values

* optimize images

Co-authored-by: alexfornuto <alex.fornuto@goteleport.com>
2022-12-13 21:06:52 +00:00
Steven Martin 616ec94d87 Remove ignored user parameter for non-local auth connector examples (#19235) 2022-12-09 09:04:51 -07:00
Paul Gottschling 67391f93e7 Add a glossary of Teleport terms (#16762)
* Add a glossary of Teleport terms

Closes #16121
Closes #13363

- Create a Core Concepts page based on the Architecture Overview page.
  The Overview page is an outline of core concepts, so I thought it
  would make a good starting point for the glossary.

- Add the Core Concepts page to the Home section to make it more
  prominent for users who are visiting the docs homepage. This should
  give it more traffic than leaving it in the Architecture section.

- Move definitions out of the "Definitions" table. Since this table
  repeats content from the body sections and comes after them, it makes
  sense to condense all content into brief body sections.

- Alphabetize sections

- Bold the first instance of each keyword within a given section. Not
  adding links since these are all to the same page. It might get a bit
  confusing to click a link and not see a change in view, since the
  target section would already be on the page.

- Remove the intro paragraph of the old Overview page, since it's not
  strictly related to core concepts.

* Respond to PR feedback and add further edits

- Group definitions into H3-level sections organized into H2s, improving
  readability by presenting the more central components first.

- Group "Machine ID" with "Teleport Services" to simplify the glossary.

- Call instances of a Teleport Service an "agent". This is consistent
  with our source and informal language about Teleport. This also
  removes the "Node" terminology, which is prone to misuse (does it mean
  "a Service instance"? An "SSH Service instance"? Both are present in
  the docs) and easily confused with the lowercase "node" (i.e., a
  host).

- For simplicity, remove the term "Teleport Process" and simply explain
  that multiple Teleport Services can run via the same binary.

- Add a section on Teleport's editions, including the terms "Community
  Edition", "Enterprise", and "Enterprise Cloud".

- Remove the mention of Teleport Discover, which isn't documented yet.

- Minor wording/readability changes.

* Respond to PR feedback

* Respond to zmb3 feedback
2022-12-08 17:32:50 +00:00
Steven Martin 9fc8237a63 Add listing and playing recorded interactive sessions to tsh docs (#18792) 2022-12-08 15:45:58 +00:00
Hugo Shaka 4f89756d8b Add --apply-on-starup flag (#19009) 2022-12-06 15:50:52 +00:00
Zac Bergquist 9e24c73307 docs: fix tsh --cert-format reference (#19041)
The docs have incorrectly listed "openssh" instead of "oldssh"
and mentioned a "file" option which is not supported.

Updates #13571
2022-12-05 16:23:00 +00:00
Marco André Dinis 8bdcd197f1 Add separation between keys when exporting CAs (#18562)
Adding a new line was sometimes not enough to separate the keys.

This was causing our tests to sometimes fail.
2022-12-05 11:11:59 +00:00
Steven Martin 42dde44e1b Minor word corrections (#18307)
* Minor corrections for app access and powershell words

* GitHub camel case correction
2022-11-09 20:27:08 +00:00
Paul Gottschling 228318d464 Document the flags for tsh kube login (#18169)
Closes #17582
2022-11-07 15:48:20 +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
Zac Bergquist 10aed927f9 docs: add CLI section for tctl alert create (#16976) 2022-10-10 22:28:01 +00:00
Grzegorz Zdunek 6426500069 Change kube logged in message (#16368) 2022-09-26 15:31:22 +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