Commit Graph
55 Commits
Author SHA1 Message Date
Russell Jones 3d60c64067 Added Application Access HA Guide (#23024) 2023-03-14 17:34:11 +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
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
Zac Bergquist c924be5c6d Refer to tsh apps subcommand (#21431)
The `tsh appps` family of commands is aliased to `tsh apps`, so both
invocations work correctly. The command itself is defined as `tsh apps`,
so this is what appears in the help message.

Update references to `tsh app` to recommend `tsh apps` instead so that
there isn't confusion when browsing `tsh help` and looking for a missing
`app` subcommand.

Fixes #21367
2023-02-10 21:40:55 +00:00
816038605b New guide: AWS DynamoDB with Database Access (#19956)
* move application-based dynamodb guide

* update and move images

* init new dynamo guide

* Apply suggestions from code review

Co-authored-by: Gavin Frazar <gavin.frazar@goteleport.com>

* updates based on review

* Add NoSQL workbench to gui clients doc

* cluster > plane

* add redirect for dynamo through app access

* gui-client cleanup

* Update docs/pages/database-access/guides/aws-dynamodb.mdx

Co-authored-by: Gavin Frazar <gavin.frazar@goteleport.com>

* Apply suggestions from code review

Co-authored-by: Gavin Frazar <gavin.frazar@goteleport.com>

* update labs link

* Apply suggestions from code review

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

* updates based on review

* Apply suggestions from code review

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

* move service nodes into AWS cloud

* edits based on review feedback

* clarify AWS IAM roles

* Adjust explanation of user role

* reference generated token

* Move dynamic registration to next steps

* explain advantage to DynamoDB through App service

* merge conflict resolution

* clarify database region restrictions

---------

Co-authored-by: Gavin Frazar <gavin.frazar@goteleport.com>
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-02-03 18:42:18 +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
STeve (Xin) Huang cbbb9cbc2a [doc] Update app access reserved headers X-Teleport-* (#21000)
* Update app access reserved headers X-Teleprot-*

* Any header matching the pattern
2023-02-02 13:48:02 +00:00
Jonathan LassoffandReed Loden 42a7be6058 Update security information in docs. (#21054)
* Update security information in docs.

Update README.md with some updated security and trust information.

Additonally, update SECURITY.md to deprecate our email-based submission process
with our current process via HackerOne.
This change also removes the now-unused PGP public key document.

* Update README.md

Co-authored-by: Reed Loden <reed@goteleport.com>

* Update Teleport download link to current page.

---------

Co-authored-by: Reed Loden <reed@goteleport.com>
2023-02-01 02:37:16 +00:00
Gavin Frazar 6d9bb25505 update app access reserved headers (#20741)
* Add x-teleport-api-error to reserved headers
* Update app tests for rewritten headers
* Add test case for x-teleport-api-error
* Fix test for XForwardedSsl since it was effectively untested before
* Refactor leaf test to parse the response from dumper app
* Update docs reference reserved headers
2023-01-27 00:01:02 +00:00
Steven Martin 6c46eac76a Download link for cloud installs (#20181) 2023-01-13 19:22:30 +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
Steven Martin e1ebc332f8 spell fixes (#19419) 2022-12-16 19:01:28 +00: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
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
Alex Fornuto 7b11fbf3b8 [Docs] Add AWS credentials to variables block (#17916)
* alphabetize variables

* implement aws access key vars
2022-11-21 15:01:50 +00:00
Gavin FrazarandPaul Gottschling 1c3c06ed10 docs: add self signed certs guide (#16182)
* Add slug for self signed certs

* Add self-signed certs guide

* Move tls cert setup into an include snippet

* Update tsh section on self signed certs

* Fix indentation

* Remove extra slash before heading

* Update docs/config.json

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

* Update docs/pages/management/admin.mdx

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

* Update docs/pages/includes/tls-certificate-setup.mdx

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

* Update docs/pages/management/admin/self-signed-certs.mdx

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

* Update docs/pages/management/admin/self-signed-certs.mdx

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

* Update docs/pages/management/admin/self-signed-certs.mdx

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

* Update docs/pages/management/admin/self-signed-certs.mdx

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

* Fix formatting of github suggestion commit

* Change link title to avoid abbreviation

* Update intro to explain the purpose of the guide and why anyone would want it

* Make 'proxy' and 'certs' consistent throughout the guide:
certs -> certificates
proxy -> Proxy Service

* Move motivation for guide out of warning and into intro

* Simplify the warning notice

* Change headings

* Capitalize helm and simplify label

* Update Helm info to include inline instructions

* Simplify systemd label

* Update systemd tab

* Update slug certs -> certificates

* Fix include snippet yaml example

* Change prereqs to omit cloud tab and instruct user to check for self-signed certs config

* Update docs/pages/management/admin/self-signed-certs.mdx

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

* Update docs/pages/management/admin/self-signed-certs.mdx

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

* Update docs/pages/management/admin/self-signed-certs.mdx

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

* Apply suggestions from code review

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

* Update docs/pages/management/admin/self-signed-certs.mdx

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

* Get specific about problem caused by insecure TLS

* Remove 'how to setup tls certs' section in favor of a link at the bottom

* Add examples for tsh and tctl, and clean up tctl wording

* Remove link to systemd guide

* Add more detail to systemd instructions

* Change wording around instructions for teleport

* Rearrange links

* Remove reference to deleted acme.mdx

* Remove v2 config reference to auth_servers

* Remove list syntax for proxy_server

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-10-11 18:02:42 +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
STeve (Xin) Huang 5110dbc71e AWS console guide updates for AWS GovCloud and AWS China (#15958) 2022-09-14 12:48:11 +00:00
STeve (Xin) Huang 638a83c055 Documentation for AWS API access (#14429) 2022-08-24 15:17:38 +00:00
Roman TkachenkoandAlex Vandiver 31b4a00a86 (buddy) Pass JWT headers on websocket requests (#15667)
* transport: Rewrite headers, including JWTs, for websockets.

Applications can otherwise 401 on websocket requests, as they do not
present any authentication headers.

docs: Fix the reserved JWT header name.

Signed-off-by: Roman Tkachenko <roman@goteleport.com>

* Add test for JWT header in websocket apps

Signed-off-by: Roman Tkachenko <roman@goteleport.com>
Co-authored-by: Alex Vandiver <alex@chmrr.net>
2022-08-22 20:43:50 +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
STeve (Xin) Huang 7d23afed48 [docs] AWS external ID support (#14907) 2022-08-03 15:54:10 +00:00
Roman Tkachenko 32406b0b0a Add docs for TCP apps access (#14978) 2022-08-02 17:26:27 +00:00
Paul Gottschling e6b6f5be1b Correct Node/agent naming and usage (#13840)
Fixes #10976

This change helps to remedy two issues with the documentation:

- Much of the documentation was written when Teleport's services
  consisted of the Auth Service, Proxy Service, and Nodes/SSH Service.
  There are some places in the docs where a reader can mistake the
  Node Service to mean "any resource service."

- Users often associate the term "agent" with a daemon that must run on
  every host in their infrastructure, and usage of this term can make
  Teleport seem more resource intensive than it actually is.

This change corrects mentions of "Node" that stand in for "any service
that access resources in your infrastructure" to account for Teleport's
other resource services. It also replaces mentions of the term "agent"
with "instance," the name of a resource service, or simply "Teleport."

Also edits the "agentless" question in the FAQ to include more detailed
information about each of Teleport's resource services.

This change also does some light copy-editing to correct the
capitalization of service names. It doesn't aim to be comprehensive,
though, since the main purpose of this change is to fix potentially
misleading mentions of "Node" and "agents".

Finally, this change deletes the production.mdx guide, as there is
no way to access this guide due to redirects. This guide includes
some outdated usage of "Nodes".
2022-07-15 22:04:25 +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
Roman Tkachenko de6068613b Add JWT auth guide for ElasticSearch (#12612) (#13137) 2022-06-03 09:25:20 -06: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
Zac Bergquist 4f0f32e923 docs: remove _ from valid subdomain characters (#12697)
Fixes #10137
2022-05-25 02:43:43 +00:00
Roman Tkachenko 0b6fe7257d App access JWT header improvements (#12567) 2022-05-11 22:15:11 +00:00
Steven Martin c89e4c998c Add roles needed in dynamic reg app and db docs (#12458)
* Added example role for db registrations

* app dynamic role example added
2022-05-05 18:37:11 +00:00
Steven Martin 1304d69fe3 Include Teleport agent installation instructions for App,DB Guides (#12171)
* Include installation instructions for Teleport DB and App service.  Added diagrams to db and app.
2022-04-29 02:49:15 +00:00
Paul Gottschling 0aa6855c8f Add notes about wildcard certificates (#9454)
* Add notes about wildcard certificates

Guides to getting started with Teleport on various platforms
recommend creating a DNS record for *.teleport.com. It would help
prospective users to know why this is needed. This change adds
context for why Application Access requires a wildcard subdomain.

Fixes #5378

* Respond to PR feedback

- Move information into a partial
- Mention that you can create a DNS A record for each application-
  specific subdomain

* Restore DNS-related cloud provider commands
2022-03-18 18:19:36 +00:00
Paul Gottschling 650133bb5b Standardize ACME instruction details (#9556)
* Standardize ACME instruction details

Our Getting Started guides often include instructions for
configuring Let's Encrypt and ACME before starting
Teleport, but not all of these instructions have the same
level of detail, and some are missing some context around
how Teleport uses ACME and why you need to open port 443 on
your Proxy Service host. This change adds an include that
spells out these instructions and invokes the include in the
appropriate guides.

The intention was to include as much relevant information within
the guides themselves to prevent the reader from having to
navigate to other pages.

Closes #6448

* Respond to PR feedback

- Substitute "proxy" for "node" where it was incorrectly used
- Some small stylistic fixes
- Clarify that "teleport configure" does not write the config
  itself
2022-03-03 15:52:38 +00:00
Paul Gottschling 4acc696c57 Add Cloud compatibility notes to guides (#9969)
* Add Cloud compatibility notes to guides

Add Details boxes to some guides that do not mention Teleport
Cloud, indicating how each guide relates to Teleport Cloud users.

* Respond to PR feedback

Removes Details boxes unless necessary to warn users of
incompatibility with Teleport Cloud.

Also makes minor stylistic tweaks.
2022-03-03 15:40:56 +00:00
Joel ddee244cde Add documentation for moderated sessions (#9425) 2022-02-11 14:12:00 +01:00
Steven Martin 90abfde1f7 Modify verbiage on AWS CLI (#10029) 2022-02-02 17:55:15 +00:00
STeve Huang 2d958d6957 add extra checks to avoid getSigninToken failure (#9792) 2022-01-26 16:14:19 +00:00
Paul Schisa 91e423825c Update aws-console.mdx (#9477)
* Update aws-console.mdx

Update the file with additional note under step 3 that the IAM policy must be attached to the worker node group due to multiple issues encountered using annotations

* Update aws-console.mdx

spelling error

* Update aws-console.mdx

move to prereq section as a note
2021-12-21 01:20:38 +00:00
Roman Tkachenko e1774a8f8b Add dynamic registration and discovery guides (#8694) 2021-11-04 15:52:35 -07:00
Marek Smoliński 2815404c28 Update AWS CLI application access docs ref (#8634) 2021-10-26 19:55:38 +02:00
Steven Martin 034b9e5029 fix web_listen_addr example (#8650) 2021-10-19 04:43:16 -07:00
Steven Martin e48dedbc21 correct app name example (#8422)
was mixing jira and jenkins
2021-09-29 15:45:42 -07:00
Steven Martin aae9ffe393 Expanded AWS Console examples (#8127)
* Expanded AWS Console docs with more examples

* Corrected file names for cert file
2021-09-09 19:14:57 -07:00
Alexander Klizhentas be10dcf17b Switch bash to code component (#8019) (#8029) 2021-08-23 11:30:02 -07:00
Steven Martin dd127979df Removed 443/3080 port from tsh login examples (#8016) 2021-08-20 22:15:50 -07:00
Ben Arent 8b7689f58b Teleport Database Video Banners (#7977)
* fwd port video banners

* Update mysql-aws.mdx
2021-08-19 14:55:01 -07:00
Roman TkachenkoandAlexander Klizhentas 00882101d3 Add AWS console guide (#7640)
Co-authored-by: Alexander Klizhentas <klizhentas@gmail.com>
2021-07-26 09:20:50 -07:00
Steven Martin fafd7acd49 Removes double quotes from acme examples in docs (#7642)
* Remove double quotes from email
2021-07-22 14:09:04 -07:00
inertial-frame 9fbe282052 [v7.0] docs: port of edit pass 2/9 (#7173)
* docs: port 6961

* docs: comment out line

* docs: correct OSS

* docs: correction

* docs: bump example from 24h to 2190h

* docs: update notes
2021-06-15 20:14:00 -05:00
inertial-frame e519af958e [v7.0] docs: port of edit pass 3/9 (#7187)
* docs: port of 6968

* docs: correct link

* docs: header
2021-06-15 19:32:04 -05:00