From f9b988246b72bd0c6b760b17f672b2cfebc9a4de Mon Sep 17 00:00:00 2001 From: stevenGravy Date: Sat, 21 Dec 2024 16:57:10 -0500 Subject: [PATCH 1/2] update teleport start descriptions --- tool/teleport/common/usage.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tool/teleport/common/usage.go b/tool/teleport/common/usage.go index 85f429350313b..f1e96ea5843b4 100644 --- a/tool/teleport/common/usage.go +++ b/tool/teleport/common/usage.go @@ -47,16 +47,16 @@ const ( --uri="http://localhost:8080" \ --labels=group=dev Same as the above, but the app server runs with "group=dev" label which only - allows access to users with the role "group=dev".` + allows access to users with the application label "group: dev" in a assigned role.` dbUsageExamples = ` > teleport db start --token=xyz --auth-server=proxy.example.com:3080 \ --name="example-db" \ --protocol="postgres" \ --uri="localhost:5432" -Starts a database server that proxies PostgreSQL database "example-db" running -at localhost:5432. The database must be configured with Teleport CA and key -pair issued by "tctl auth sign --format=db". + Starts a database server that proxies PostgreSQL database "example-db" running + at localhost:5432. The database must be configured with Teleport CA and key + pair issued by "tctl auth sign --format=db". > teleport db start --token=xyz --auth-server=proxy.example.com:3080 \ --name="aurora-db" \ @@ -64,8 +64,9 @@ pair issued by "tctl auth sign --format=db". --uri="example.cluster-abcdefghij.us-west-1.rds.amazonaws.com:3306" \ --aws-region=us-west-1 \ --labels=env=aws -Starts a database server that proxies Aurora MySQL database running in AWS -region us-west-1 which only allows access to users with the role "env=aws".` + Starts a database server that proxies Aurora MySQL database running in AWS + region us-west-1 which only allows access to users with the database label + "env: aws" in a assigned role.` systemdInstallExamples = ` > teleport install systemd From 889c51ad097aa865abd306a19c152e912c44b9c6 Mon Sep 17 00:00:00 2001 From: stevenGravy Date: Mon, 23 Dec 2024 09:52:11 -0500 Subject: [PATCH 2/2] verbiage update for description --- tool/teleport/common/usage.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/teleport/common/usage.go b/tool/teleport/common/usage.go index f1e96ea5843b4..bc9ce79d18f0f 100644 --- a/tool/teleport/common/usage.go +++ b/tool/teleport/common/usage.go @@ -47,7 +47,7 @@ const ( --uri="http://localhost:8080" \ --labels=group=dev Same as the above, but the app server runs with "group=dev" label which only - allows access to users with the application label "group: dev" in a assigned role.` + allows access to users with the application label "group: dev" in an assigned role.` dbUsageExamples = ` > teleport db start --token=xyz --auth-server=proxy.example.com:3080 \ @@ -66,7 +66,7 @@ const ( --labels=env=aws Starts a database server that proxies Aurora MySQL database running in AWS region us-west-1 which only allows access to users with the database label - "env: aws" in a assigned role.` + "env: aws" in an assigned role.` systemdInstallExamples = ` > teleport install systemd