From 37d0c425a50873bac7707efdcfbec884228f75e2 Mon Sep 17 00:00:00 2001 From: Steven Martin Date: Fri, 25 Aug 2023 19:35:04 -0400 Subject: [PATCH] docs: include sudo for db configure create examples --- .../database-access/guides/aws-cassandra-keyspaces.mdx | 6 ++++-- docs/pages/database-access/guides/azure-redis.mdx | 4 ++-- docs/pages/database-access/guides/azure-sql-server-ad.mdx | 4 ++-- docs/pages/database-access/guides/postgres-redshift.mdx | 4 ++-- docs/pages/database-access/guides/rds-proxy.mdx | 2 +- docs/pages/database-access/guides/rds.mdx | 2 +- docs/pages/database-access/guides/redis-aws.mdx | 4 ++-- docs/pages/database-access/guides/redshift-serverless.mdx | 2 +- 8 files changed, 15 insertions(+), 13 deletions(-) diff --git a/docs/pages/database-access/guides/aws-cassandra-keyspaces.mdx b/docs/pages/database-access/guides/aws-cassandra-keyspaces.mdx index 873b0850d40b..3f850996e386 100644 --- a/docs/pages/database-access/guides/aws-cassandra-keyspaces.mdx +++ b/docs/pages/database-access/guides/aws-cassandra-keyspaces.mdx @@ -55,7 +55,8 @@ Create a configuration for the Teleport Database Service, pointing the `--proxy` flag to the address of your Teleport Proxy Service: ```code -$ teleport db configure create \ +$ sudo teleport db configure create \ + -o file \ --token=/tmp/token \ --proxy=teleport.example.com:443 \ --name=keyspaces \ @@ -72,7 +73,8 @@ Create a configuration for the Teleport Database Service, pointing the `--proxy` flag to the address of your Teleport Proxy Service: ```code -$ teleport db configure create \ +$ sudo teleport db configure create \ + -o file \ --token=/tmp/token \ --proxy=mytenant.teleport.sh:443 \ --name=keyspaces \ diff --git a/docs/pages/database-access/guides/azure-redis.mdx b/docs/pages/database-access/guides/azure-redis.mdx index b817db496074..8d4b9bbd1889 100644 --- a/docs/pages/database-access/guides/azure-redis.mdx +++ b/docs/pages/database-access/guides/azure-redis.mdx @@ -49,7 +49,7 @@ Create the Database Service configuration, specifying a region like this: ```code -$ teleport db configure create \ +$ sudo teleport db configure create \ -o file \ --proxy=tele.example.com:443 \ --token=/tmp/token \ @@ -59,7 +59,7 @@ $ teleport db configure create \ ```code -$ teleport db configure create \ +$ sudo teleport db configure create \ -o file \ --proxy=teleport.example.com:3080 \ --token=/tmp/token \ diff --git a/docs/pages/database-access/guides/azure-sql-server-ad.mdx b/docs/pages/database-access/guides/azure-sql-server-ad.mdx index 6f1386ec8e84..aced05f2d0d5 100644 --- a/docs/pages/database-access/guides/azure-sql-server-ad.mdx +++ b/docs/pages/database-access/guides/azure-sql-server-ad.mdx @@ -198,7 +198,7 @@ Generate a configuration file at `/etc/teleport.yaml` for the Database Service: ```code -$ teleport db configure create \ +$ sudo teleport db configure create \ -o file \ --token=/tmp/token \ --proxy=teleport.example.com \ @@ -208,7 +208,7 @@ $ teleport db configure create \ ```code -$ teleport db configure create \ +$ sudo teleport db configure create \ -o file \ --token=/tmp/token \ --proxy=mytenant.teleport.sh:443 \ diff --git a/docs/pages/database-access/guides/postgres-redshift.mdx b/docs/pages/database-access/guides/postgres-redshift.mdx index 1c5b546ffe29..656dcc9547c4 100644 --- a/docs/pages/database-access/guides/postgres-redshift.mdx +++ b/docs/pages/database-access/guides/postgres-redshift.mdx @@ -51,7 +51,7 @@ On the node that is running the Database Service, create a configuration file: ```code -$ teleport db configure create \ +$ sudo teleport db configure create \ -o file \ --proxy=teleport.example.com:3080 \ --token=/tmp/token \ @@ -62,7 +62,7 @@ $ teleport db configure create \ ```code -$ teleport db configure create \ +$ sudo teleport db configure create \ -o file \ --proxy=mytenant.teleport.sh:443 \ --token=/tmp/token \ diff --git a/docs/pages/database-access/guides/rds-proxy.mdx b/docs/pages/database-access/guides/rds-proxy.mdx index 27eb0d7ad877..c3e2acddd401 100644 --- a/docs/pages/database-access/guides/rds-proxy.mdx +++ b/docs/pages/database-access/guides/rds-proxy.mdx @@ -47,7 +47,7 @@ your Teleport Proxy address or Teleport Cloud tenant (e.g. `mytenant.teleport.sh and replace with your preferred region: ```code -$ teleport db configure create \ +$ sudo teleport db configure create \ -o file \ --proxy=:443 \ --token=/tmp/token \ diff --git a/docs/pages/database-access/guides/rds.mdx b/docs/pages/database-access/guides/rds.mdx index b092da7ec448..896cab82767e 100644 --- a/docs/pages/database-access/guides/rds.mdx +++ b/docs/pages/database-access/guides/rds.mdx @@ -57,7 +57,7 @@ Install Teleport on the host where you will run the Teleport Database Service: Create the Database Service configuration: ```code -$ teleport db configure create \ +$ sudo teleport db configure create \ -o file \ --proxy=example.teleport.sh:443 \ --token=/tmp/token \ diff --git a/docs/pages/database-access/guides/redis-aws.mdx b/docs/pages/database-access/guides/redis-aws.mdx index 45f40b9c9c94..21b5e3a43859 100644 --- a/docs/pages/database-access/guides/redis-aws.mdx +++ b/docs/pages/database-access/guides/redis-aws.mdx @@ -77,7 +77,7 @@ Create the Database Service configuration: ```code - $ teleport db configure create \ + $ sudo teleport db configure create \ -o file \ --proxy=mytenant.teleport.sh:443 \ --token=/tmp/token \ @@ -86,7 +86,7 @@ Create the Database Service configuration: ``` - $ teleport db configure create \ + $ sudo teleport db configure create \ -o file \ --proxy=mytenant.teleport.sh:443 \ --token=/tmp/token \ diff --git a/docs/pages/database-access/guides/redshift-serverless.mdx b/docs/pages/database-access/guides/redshift-serverless.mdx index 98b9d57ed780..f5e8924d18ad 100644 --- a/docs/pages/database-access/guides/redshift-serverless.mdx +++ b/docs/pages/database-access/guides/redshift-serverless.mdx @@ -201,7 +201,7 @@ Install Teleport on the host where you will run the Teleport Database Service: On the same host, create a Teleport configuration file: ```code -$ teleport db configure create \ +$ sudo teleport db configure create \ -o file \ --proxy=teleport.example.com:443 \ --token=/tmp/token \