Commit Graph
20 Commits
Author SHA1 Message Date
Zac Bergquist 2ae9d770fc Refactor tctl's dependencies (#22693)
* Move configuration from lib/service to lib/service/servicecfg

The new servicecfg package will hold only configuration for services.
This will allow other packages (like tctl and tsh) to depend on
servicecfg without pulling in all of lib/service (which has a number
of platform-specific details).

This is the first step towards being able to build tctl for Windows.

* Move PAM and BPF config into servicecfg

This breaks a compile-time dependency on BPF/PAM for tctl.
2023-03-09 17:48:36 +00:00
Gavin Frazar 5c752c4df8 Fixup teleport db configure create (#20968)
* add missing flags
* fix config generation bugs
* always wrap generated strings value in quotes
* parse and check generated config
* update tests for db agent config gen
2023-02-11 00:54:07 +00:00
STeve (Xin) Huang 23481cd831 Update database config samples (#21480) 2023-02-09 14:20: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
Gavin Frazar 08e3f75925 Fix SQLServer discovery config generation (#20496)
* Add tests for untested discovery flags (SQLServer, ElastiCache, MemoryDB)
2023-01-25 16:53:18 +00:00
Gavin Frazar 5bb0ef15db add dynamodb database access (#18843)
* Add a new db engine
* Add tests for new engine
* Update tsh db subcommands
* Refactor error message and suggestions for unsupported tsh commands
* Add dynamodb to test plan
* Add AWS external ID to db config and update protos
2022-12-30 18:22:30 +00:00
STeve (Xin) Huang 43529b2653 AWS Redshift Serverless auto-discovery (#18974) 2022-12-09 21:23:56 +00:00
Gabriel Corado fa15a7c4c4 Azure SQL Server auto discovery (#17745) 2022-11-28 15:02:49 +00:00
STeve (Xin) Huang 1b0a083b9d Database access AWS RDS Proxy support (#17005) 2022-10-31 15:21:31 +00:00
Jakub Nyckowski 0ee91f6c37 Enable GCI linter (#17894) 2022-10-28 20:20:28 +00:00
STeve (Xin) Huang d319ee2734 Azure Cache for Redis auto discovery (#16755) 2022-10-03 20:54:44 +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
Gavin Frazar d6e3202a49 Azure mysql postgres auto discovery config create (#15630)
* Add Azure auto-discovery configuration fields

* Init databases if azure matchers are in config

* Use AzureMatchers in db service

* Use all azure subscriptions/resource groups if omitted in matcher

* Add azure config tests

* Add config create flags for azure matchers

* Add config create tests for azure

* Move discovery flags for azure below aws

* Fixup merge
2022-08-19 20:36:20 +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
Michelle Bergquist e6895d8934 add config flags to db configure create (#13763)
* add aws-region, aws-redshift-cluster-id, ad-domain, ad-spn, gcp-project-id, gcp-instance-id, ad-keytab-file, ca-cert-file flags
2022-06-24 15:28:10 -06:00
STeve (Xin) Huang 85016a9a3e MemoryDB support (#13069) 2022-06-14 19:09:31 +00:00
STeve (Xin) Huang 5c6deb7d9d ElastiCache support - the basics (#12209) 2022-05-13 15:09:20 +00:00
Jim Bishopp 3581f437ff Fix db configure (#10349)
Generate sample YAML file with a proper duration for dynamic label
period.

The new `teleport db configure` cli command generated dynamic labels
with the period field as an integer rather than `time.Duration`. Our
current yaml.v2 import treats integers as nanoseconds, but has corrected
this behavior in v3 which breaks this implementation.
2022-02-15 17:42:00 +00:00
Gabriel Corado df68e73864 feat: add create database config command (#9618) 2022-02-10 17:56:42 +00:00