Skip to content

Commit

Permalink
docs: include sudo for db configure create examples (#31052)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenGravy authored Aug 30, 2023
1 parent b7adc70 commit a71e706
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions docs/pages/database-access/guides/aws-cassandra-keyspaces.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Start the Teleport Database Service, pointing the `--auth-server` flag to the
address of your Teleport Proxy Service:

```code
$ teleport db start \
$ sudo teleport db start \
--token=/tmp/token \
--auth-server=teleport.example.com:443 \
--name=keyspaces \
Expand All @@ -72,7 +72,7 @@ Start the Teleport Database Service, pointing the `--auth-server` flag to the
address of your Teleport Cloud tenant:

```code
$ teleport db start \
$ sudo teleport db start \
--token=/tmp/token \
--auth-server=mytenant.teleport.sh:443 \
--name=keyspaces \
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/database-access/guides/azure-redis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Create the Database Service configuration, specifying a region like this:
<TabItem scope={["oss", "enterprise"]} label="Self-Hosted">

```code
$ teleport db configure create \
$ sudo teleport db configure create \
-o file \
--proxy=tele.example.com:443 \
--token=/tmp/token \
Expand All @@ -60,7 +60,7 @@ $ teleport db configure create \
<TabItem scope={["cloud"]} label="Teleport Enterprise Cloud">

```code
$ teleport db configure create \
$ sudo teleport db configure create \
-o file \
--proxy=teleport.example.com:3080 \
--token=/tmp/token \
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/database-access/guides/azure-sql-server-ad.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Generate a configuration file at `/etc/teleport.yaml` for the Database Service:
<TabItem scope={["oss", "enterprise"]} label="Self-Hosted">

```code
$ teleport db configure create \
$ sudo teleport db configure create \
-o file \
--token=/tmp/token \
--proxy=teleport.example.com:3080 \
Expand All @@ -125,7 +125,7 @@ $ teleport db configure create \
</TabItem>
<TabItem scope={["cloud"]} label="Teleport Enterprise Cloud">
```code
$ teleport db configure create \
$ sudo teleport db configure create \
-o file \
--token=/tmp/token \
--proxy=mytenant.teleport.sh:443 \
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/database-access/guides/postgres-redshift.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ On the node that is running the Database Service, create a configuration file:
<TabItem scope={["oss", "enterprise"]} label="Self-Hosted">

```code
$ teleport db configure create \
$ sudo teleport db configure create \
-o file \
--proxy=teleport.example.com:3080 \
--token=/tmp/token \
Expand All @@ -61,7 +61,7 @@ $ teleport db configure create \
<TabItem scope={["cloud"]} label="Teleport Enterprise Cloud">

```code
$ teleport db configure create \
$ sudo teleport db configure create \
-o file \
--proxy=mytenant.teleport.sh:443 \
--token=/tmp/token \
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/database-access/guides/rds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,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 \
Expand Down
8 changes: 4 additions & 4 deletions docs/pages/database-access/guides/redis-aws.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Create the Database Service configuration:
<Tabs>
<TabItem label="ElastiCache">
```code
$ teleport db configure create \
$ sudo teleport db configure create \
-o file \
--proxy=teleport.example.com:3080 \
--token=/tmp/token \
Expand All @@ -61,7 +61,7 @@ Create the Database Service configuration:
</TabItem>
<TabItem label="MemoryDB">
```code
$ teleport db configure create \
$ sudo teleport db configure create \
-o file \
--proxy=teleport.example.com:3080 \
--token=/tmp/token \
Expand All @@ -76,7 +76,7 @@ Create the Database Service configuration:
<Tabs>
<TabItem label="ElastiCache">
```code
$ teleport db configure create \
$ sudo teleport db configure create \
-o file \
--proxy=mytenant.teleport.sh:443 \
--token=/tmp/token \
Expand All @@ -85,7 +85,7 @@ Create the Database Service configuration:
</TabItem>
<TabItem label="MemoryDB">
```
$ teleport db configure create \
$ sudo teleport db configure create \
-o file \
--proxy=mytenant.teleport.sh:443 \
--token=/tmp/token \
Expand Down

0 comments on commit a71e706

Please sign in to comment.