Removing Teleport db Start from token message (#13642)

* Changing instructions to reflect correct tag

--db-aws-region does nothing. It should be --aws-region to reflect the latest nomenclature.

* Removing teleport db start

Reflecting we want people to be more acquainted with the teleport.yaml.

---------

Co-authored-by: Marek Smoliński <marek@goteleport.com>
This commit is contained in:
GERey 2023-03-27 13:11:04 -07:00 committed by GitHub
parent e0c1346730
commit 95294a0d71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,17 +120,7 @@ func (c *DBCommand) ListDatabases(ctx context.Context, clt auth.ClientI) error {
var dbMessageTemplate = template.Must(template.New("db").Parse(`The invite token: {{.token}}
This token will expire in {{.minutes}} minutes.
Fill out and run this command on a node to start proxying the database:
> teleport db start \
--token={{.token}} \{{range .ca_pins}}
--ca-pin={{.}} \{{end}}
--auth-server={{.auth_server}} \
--name={{.db_name}} \
--protocol={{.db_protocol}} \
--uri={{.db_uri}}
Or, generate the configuration and start a Teleport agent using it:
Generate the configuration and start a Teleport agent using it:
> teleport db configure create \
--token={{.token}} \{{range .ca_pins}}