Commit Graph
53 Commits
Author SHA1 Message Date
Paul Gottschling 127184f0a8 Break up /database-access/guides/ (#38574)
* Break up /database-access/guides/

Closes #17641

Organize the guides to enrolling databases in specific cloud providers
(or self-hosted databases) into separate subsections of the "Database
Actions" section, organized by cloud provider (or self-hosted).

We can later add general information to the index page of each
subsection about how Teleport database access works for each cloud
provider. The remaining guides in the "Guides" subsection have to do
with database-agnostic functionality of the Teleport Database Service.

This change also adds a redirect for each page it moves.

* Respond to greedy52 feedback

- In the "Database Access" intro page, move the self-hosted section
  first in the list of links to database-specific guides so it's less
  easy to miss.
- Change "AWS" to "Amazon" in product names.

* Fix linter issues

* Remove redirects added by the DB guide reorg

This prevents us from running into Vercel route limit issues, since the
number of redirects is large.
2024-05-14 20:44:59 +00:00
STeve (Xin) Huang 978106414f [docs] Update DB access AWS IAM reference page (#38881)
* [docs] Update DB access AWS IAM reference page

* add other aws databases

* reword and fix a few spots

* remove please and add the for service

* address review coments

* fix spelling

* fix link
2024-05-06 18:04:31 +00:00
Paul Gottschling 176935cbfa Remove Teleport Team mentions from the docs (#38940)
- Remove the `team` scope from config.json.
- Edit the Edition comparison table to remove the "Team" column.
- Change the Teleport Team getting started guide to a Teleport
  Enterprise Cloud getting started guide.
- Remove other Teleport Team mentions from the docs.
2024-03-05 17:17:15 +00:00
Gavin Frazar 7cec562a5f add DB CA migration and rotation guides (#38137)
* add nav slugs for DB CA migration and rotation guides
* add DB CA guides
* use --phase last in CA rotation guide example commands, so they're less tedious to
  edit
* link to the database CA rotation guide for db and db_client CA rotation
* deprecate spec.ca_cert in db reference
* recommend parallel database ca rotation
* explain reconfig post rotation to fix db vuln
* update cspell to ignore -noout
2024-02-21 01:49:47 +00:00
STeve (Xin) Huang 3f53751628 [docs] select db roles support for auto-provisioned db (#36648)
* [docs] select db roles support for auto-provisioned db

* update cli reference
2024-01-18 14:39:02 +00:00
Gavin Frazar 0562ce0a0d use rds proxy port instead of proxy target port (#35347)
* use rds proxy port instead of proxy target port

* remove unused func and IAM permissions
2023-12-05 20:21:44 +00:00
STeve (Xin) Huang 5ba3457494 [docs] clarify database name override label (#34858)
* [docs] clarify database name override label

* fix link

* mark teleport.dev/database_name as legacy

* apply h3 and remove Admonition
2023-11-30 14:27:27 +00:00
STeve (Xin) Huang c48753b624 [docs] clarify RDS/Aurora databases getting modified (#33312) 2023-10-12 17:48:03 +00:00
a63e63ec80 docs: include info for accessing database audit activity (#33063)
* docs: include info for accessing database audit activity

* fix for spelling

* verbiage update

* update verbiage

* verbiage update

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

* update info

* verbiage update

* verbiage update

* capitatlization

* verbiage update

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

* verbiage update

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2023-10-06 20:46:08 +00:00
Gavin Frazar ed4c0073b0 update --db-user and --db-name docs (#32523) 2023-10-02 22:32:30 +00:00
Paul Gottschling 96f2e482c9 Replace multi-line ScopedBlocks with Tabs (#30616)
* Replace multi-line ScopedBlocks with Tabs

Contributes to #30268

The documentation scope switcher tends to confuse users, and the
ScopedBlock component hides docs content based on the scope switcher. To
help remove ScopedBlocks from the docs site, this change replaces
multi-line ScopedBlocks with Tabs components if they include variations
for different scopes.

While most multi-line ScopedBlocks function like Tabs, there are a few
edge cases, which this change addresses individually.

Note that this change does not intend to remove all ScopedBlocks that
are placed inline within a paragraph. That will be the goal of a
separate change.

* Remove more ScopedBlocks (#30623)

This builds on the work done in #30616 and contributes to #30616.
2023-08-17 17:17:46 +00:00
Paul Gottschling 191e645011 Split up the CLI reference (#30129)
Fixes #29957

Improves the page load performance of our CLI reference documentation by
splitting up the long CLI reference page. This also has other benefits,
including:

- **SEO**: Users don't need to search for the Teleport CLI reference
  (and don't need to know that this page exists), but can search for a
  specific tool they want reference docs for.
- **In-page search:** Users searching within a specific page will get
  results for the tool they are researching, not all of Teleport's CLI
  tools.
2023-08-10 13:56:47 +00:00
STeve (Xin) Huang fa0c42ebcc [doc] database labels reference (#28825)
* [doc] database labels reference

* Alex's comments
2023-07-13 17:06:58 +00:00
Alex Fornuto 2cf7284404 Docs: clarify the value of 'host' key where needed (#28490)
* clarify the value of 'host' key where needed

* Respond to @ptgott's feedback
2023-07-06 14:21:04 +00:00
Paul Gottschling c5ced551eb Edit forScopes configurations and edit guides (#28443)
* Edit forScopes configurations and edit guides

Closes #26500

This change requires merging gravitational/docs#326 to add a Team scope
to the docs.

This updates pages within the docs so that:

- Each page's `forScopes` configuration is accurate, especially with
  regard to support for Teleport Team.
- All scoped components match the `forScopes` configuration for each
  page. For this, I used the linter introduced by
  gravitational/docs#327.

* Respond to alexfornuto feedback
2023-07-05 20:58:08 +00:00
Roman TkachenkoandPaul Gottschling fe46ac0e58 Add docs for database auto user provisioning (#26987)
* Add docs for database auto user provisioning

* Address feedback

* Fix

* More lint fixes

* Fix

* Apply suggestions from code review

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

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-06-02 17:20:25 +00:00
Alex Fornuto f223ba76b5 remove opened var when set to false (#26245) 2023-05-16 15:44:43 +00:00
Alex Fornuto e4791beaa6 docs: expand admonition for additional DB types (#24990)
* update admonition for additional DB types

* Update docs/pages/database-access/reference/configuration.mdx
2023-05-15 16:31:16 +00:00
Marek Smoliński 51e0ab1845 docs: Update MySQL Server Version (#24517) 2023-05-11 08:23:22 +00:00
Gavin FrazarandPaul Gottschling a073f51f9d add assume_role_arn and external_id docs reference (#25244)
* add assume_role_arn and external_id docs reference

* Update docs/pages/includes/config-reference/database-config.yaml

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

* Update docs/pages/includes/config-reference/database-config.yaml

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

* Update docs/pages/database-access/reference/configuration.mdx

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

* Update docs/pages/database-access/reference/configuration.mdx

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

* Update docs/pages/includes/config-reference/database-config.yaml

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

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-04-28 17:48:41 +00:00
Paul Gottschling 1ee16dda12 Tweak messaging to anticipate a new linter (#22270)
In gravitational/docs#238, we will add a linter that lints for incorrect
usage of Teleport terms. This change fixes linter violations to
anticipate this new linter.

Changes include:

- Ensuring that Teleport service names are capitalized
- No longer using the "[Resource] Access" terminology. Instead, talk
  about adding resources, using Teleport services, etc.
2023-04-11 16:42:00 +00:00
Paul GottschlingandAlex Fornuto da0e53ecdb Reorganize the config reference (#21594)
* Reorganize the config reference

Closes #11253

This change breaks up the config reference by moving each Teleport
service's configuration settings into a separate YAML snippet, and
organizing each YAML snippet into a `TabItem` within a `Tabs` with
`dropdownView` enabled. When Teleport Enterprise Cloud doesn't support a
service, this change adds a `Notice` with a message about Teleport
Enterprise Cloud in the relevant `TabItem`.

I thought this approach would be cleaner than alternatives:

- **Including an H2 for each service:** With this approach, the
  configuration reference would be even longer than it is now. With the
  approach I'm proposing, readers would navigate to "Reference
  configurations", then choose a service from a dropdown menu: much less
  scrolling for slightly more clicking.

- **Including another set of `TabItem`s for Teleport editions:** I
  thought about adding a `Tabs` with a dropdown option for each Teleport
  edition and a horizontal `TabItem` for each service, but this would
  require horizontal scrolling and doesn't scale very well.

- **Including horizontal tabs for each Teleport edition**, with an inner
  dropdown menu for each Teleport service: There is currently no way to
  do this without multiple `Tabs` components, which gets messy quickly.

**Note** that this change does not attempt to copy-edit comments/example
values within the configuration snippets. The scope of this change is
limited only to reorganization.

* Respond to PR feedback

* Update docs/pages/includes/config-reference/instance-wide.yaml

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

* Respond to PR feedback

Use headings instead of `TabItem`s to split up sections of the config
reference.

---------

Co-authored-by: Alex Fornuto <alex.fornuto@goteleport.com>
2023-02-24 22:12:38 +00:00
STeve (Xin) Huang 088b4370c5 [docs] add a note on rds:DescribeDBClusters (#22007)
* [docs] add a note on `rds:DescribeDBClusters`

* add a comma
2023-02-17 18:52:11 +00:00
STeve (Xin) Huangandalexfornuto e2fbeacf97 Docs: AWS RDS Proxy Guide (#21322)
* init RDS proxy guide

* update diagram

* update doc

* add missing png

* copy edits...

Minor phrasing adjustment, replaced scoped blocks for cloud with Vars, fixed code fencing for commands and json

* RDS Proxies -> RDS Proxy instances

* database agent -> Database Service instance

---------

Co-authored-by: alexfornuto <alex.fornuto@goteleport.com>
2023-02-07 14:32:26 +00:00
STeve (Xin) Huang 8c53757aac Require flag for dynamic resources matching "tsh db configure create" (#20966)
* Require a new flag for enabling dynamic resources matching for "tsh db configure create"

* rename flag to --dynamic-resources-labels

* make naming more consistent
2023-02-02 22:07:59 +00:00
Steven Martin a2d9c2590d Add port number to cloud address examples for proxy server (#20897)
* Add port number to cloud address examples for proxy server

* fix port example

* Include 443 port in cloud proxy examples

* use 443 instead of 3080 for cloud examples
2023-01-30 17:50:12 +00:00
Steven Martin d4e69a3e8c Fix role word reference (#18470) 2022-11-15 14:59:31 +00:00
STeve (Xin) Huang b696ca12a3 Documentation for Azure Cache for Redis (Database Access) (#17387) 2022-10-27 20:32:25 +00:00
Paul GottschlingandZac Bergquist 941f0fc97e Add RBAC instructions for DB tctl auth sign (#14528)
* Add RBAC instructions for DB tctl auth sign

Fixes #13768

Add a `Details` box to the `tctl auth sign` entry in the Database Access
CLI reference explaining how to set up your user's Teleport roles in
order to enable running `tctl auth sign` for database-specific
certificate formats.

* Update docs/pages/database-access/reference/cli.mdx

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

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2022-08-11 22:02:52 +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
8929f640f9 Update error message returned when user is not allowed to sign db certs (#13902)
* Update error message returned when user is not allowed to sign db certs

* Update lib/auth/auth_with_roles.go

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

* Update docs

* Fix docs

* Update error for snowflake cert signing

* Update docs/pages/database-access/reference/cli.mdx

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

* Update docs/pages/database-access/reference/cli.mdx

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

Co-authored-by: Nic Klaassen <nic@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-07-13 16:17:34 +00:00
STeve (Xin) Huang 3c1a6b628b Add documentation for AWS MemoryDB support (#14088) 2022-07-07 03:29:45 +00:00
STeve (Xin) Huang cfbea378c3 Documentation for ElastiCache (#13133) 2022-06-30 16:10:57 +00:00
Jakub NyckowskiandPaul Gottschling a3bc24e28b Add Snowflake integration docs (#12816)
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-06-30 02:53:19 +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
Brendan O'Halloran 1a25fe59c2 Cloud customers should use port 443 when configuring agents (#13064) 2022-06-02 09:26:56 -03: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
d5d2a72ace Advertise correct MySQL server version (#12196)
Teleport now will try to extract MySQL server version from initial handshake package instead of sending `8.0.0-Teleport` every time. This string can be overridden by new configuration option `mysql.server_version`. On DB service start Teleport will also try to fetch the current version from MySQL/MariaDB instance. After that the server version will be updated on every successful connection to keep it up to date.

Co-authored-by: STeve (Xin) Huang <xin.huang@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-04-29 22:22:11 +00:00
Paul Gottschling e4f8388316 Add Cloud instructions to five guides (#11516)
* Add Cloud instructions to five guides

See #10637

Database Access FAQ

- Add tabbed instructions where answers differ for Cloud/Self-Hosted

- Style/grammar tweaks

Dynamic Registration

- While this guide is edition agnostic, I have added the tctl.mdx
  partial so Cloud users know to log in to Teleport before running
  tctl commands.

Configuration reference

- The only part that required different instructions for Cloud users
  was the reference configuration for the Proxy Service. I have
  supplied  the values hardcoded in Teleport Cloud.

CLI reference

- Add ScopedBlocks where examples mention proxy.example.com--use a
  Cloud tenant address for Cloud readers.

- Light style/grammar edits

Architecture

- This guide is mostly edition agnostic. After the overview diagram,
  I used a ScopedBlock to make it clear to Cloud users that the Proxy
  Service uses the Teleport Cloud tenant address.

* Respond to PR feedback

Also remove mongo_public_addr from the Cloud proxy_service config,
since this was included incorrectly.
2022-03-31 18:54:31 +00:00
2588725623 Update database guides with database configurator. (#10451)
* docs: update database guides to use configurator

* Apply suggestions from code review

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

* docs(database): add auto-discovery IAM policies reference

* docs(database): update with code review suggestions

* docs(database): update with review suggestions

* Apply suggestions from code review

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

* docs(database): remove H3 lines

* docs(database): update auto-discovery reference

* docs(database): update policy examples to be more restrictive

* Apply suggestions from code review

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

Co-authored-by: Roman Tkachenko <roman@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-03-08 11:45:01 +00:00
Roman Tkachenko 8ea2c70996 Add SQL Server guide (#10293) 2022-02-18 22:37:29 +00:00
STeve Huang adf7200787 Documentation update for Redshift auto discovery support (#9990) 2022-02-01 14:42:47 +00:00
Krzysztof SkrzętnickiandPaul Gottschling f3364f77fd [Breaking] Default to mongosh when connecting to MongoDB. (#8472) (#9754)
* Use `mongosh` client when available.

* Document `mongosh` as default client from 9.0 and `mongo` being the fallback.

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-01-21 15:04:23 +01:00
Jakub Nyckowski f5d5323f1f Specify level of TLS verification for database connections (#9197)
Now 'verify-full', 'verify-ca' and 'insecure' modes can be used when connecting to a database. 'verify-full` is the default on and it's the most strict. 'verify-ca' skips the server-name check. 'insecure' accepts any certificate provided by a database.
2022-01-05 16:41:49 +00:00
Marek Smoliński c9ee98b6af Doc update mongo postgres separate listeners (#9340) 2021-12-14 17:42:12 +00:00
Roman Tkachenko e1774a8f8b Add dynamic registration and discovery guides (#8694) 2021-11-04 15:52:35 -07:00
Roman Tkachenko 288c5519ce Accept multiple SANs in tctl auth sign for databases (#8449) 2021-10-05 16:00:28 -07:00
Alexander Klizhentas be10dcf17b Switch bash to code component (#8019) (#8029) 2021-08-23 11:30:02 -07:00
Steven Martin a177241e89 Added Admonition for postgres sql and tls (#7777) 2021-08-05 05:13:07 -07:00
Marek Smoliński 4de9e94a51 Add support for tctl get/rm DB resource (#7558) 2021-07-29 10:27:38 +02:00