diff --git a/docs/pages/database-access/enroll-aws-databases/aws-cassandra-keyspaces.mdx b/docs/pages/database-access/enroll-aws-databases/aws-cassandra-keyspaces.mdx index 06b19bcc321af..aa9bbdcfc936c 100644 --- a/docs/pages/database-access/enroll-aws-databases/aws-cassandra-keyspaces.mdx +++ b/docs/pages/database-access/enroll-aws-databases/aws-cassandra-keyspaces.mdx @@ -30,7 +30,7 @@ description: How to configure Teleport database access with Amazon Keyspaces (Ap ## Step 1/5. Set up the Teleport Database Service -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) (!docs/pages/includes/database-access/alternative-methods-join.mdx!) diff --git a/docs/pages/database-access/enroll-aws-databases/aws-dynamodb.mdx b/docs/pages/database-access/enroll-aws-databases/aws-dynamodb.mdx index 2065a3f357c4d..0d3c94008ac95 100644 --- a/docs/pages/database-access/enroll-aws-databases/aws-dynamodb.mdx +++ b/docs/pages/database-access/enroll-aws-databases/aws-dynamodb.mdx @@ -155,7 +155,7 @@ the correct STS endpoint. (!docs/pages/includes/database-access/alternative-methods-join.mdx!) -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) ### Install and start Teleport diff --git a/docs/pages/database-access/enroll-aws-databases/aws-opensearch.mdx b/docs/pages/database-access/enroll-aws-databases/aws-opensearch.mdx index 93b24bc6fe2ce..61c9510f52b1b 100644 --- a/docs/pages/database-access/enroll-aws-databases/aws-opensearch.mdx +++ b/docs/pages/database-access/enroll-aws-databases/aws-opensearch.mdx @@ -190,7 +190,7 @@ Teleport: -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) Use the token provided by the output of this command in the next step. diff --git a/docs/pages/database-access/enroll-aws-databases/postgres-redshift.mdx b/docs/pages/database-access/enroll-aws-databases/postgres-redshift.mdx index d0fcad1f9d998..89d51eb064639 100644 --- a/docs/pages/database-access/enroll-aws-databases/postgres-redshift.mdx +++ b/docs/pages/database-access/enroll-aws-databases/postgres-redshift.mdx @@ -42,7 +42,7 @@ automatically enroll all AWS databases in your infrastructure. ## Step 2/6. Create a Database Service configuration -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) (!docs/pages/includes/database-access/alternative-methods-join.mdx!) diff --git a/docs/pages/database-access/enroll-aws-databases/redis-aws.mdx b/docs/pages/database-access/enroll-aws-databases/redis-aws.mdx index 51df10dfe608a..c2898082c0413 100644 --- a/docs/pages/database-access/enroll-aws-databases/redis-aws.mdx +++ b/docs/pages/database-access/enroll-aws-databases/redis-aws.mdx @@ -58,7 +58,7 @@ databases in your infrastructure. ## Step 2/6. Create a Database Service configuration -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) (!docs/pages/includes/database-access/alternative-methods-join.mdx!) diff --git a/docs/pages/database-access/enroll-aws-databases/sql-server-ad.mdx b/docs/pages/database-access/enroll-aws-databases/sql-server-ad.mdx index b6c9b7a91b80e..ba0fd4c8bf7db 100644 --- a/docs/pages/database-access/enroll-aws-databases/sql-server-ad.mdx +++ b/docs/pages/database-access/enroll-aws-databases/sql-server-ad.mdx @@ -205,7 +205,7 @@ KVNO Principal ## Step 4/7. Set up the Teleport Database Service -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) (!docs/pages/includes/install-linux.mdx!) diff --git a/docs/pages/database-access/enroll-azure-databases/azure-postgres-mysql.mdx b/docs/pages/database-access/enroll-azure-databases/azure-postgres-mysql.mdx index cfd7065372a00..a3c05ded2899a 100644 --- a/docs/pages/database-access/enroll-azure-databases/azure-postgres-mysql.mdx +++ b/docs/pages/database-access/enroll-azure-databases/azure-postgres-mysql.mdx @@ -37,7 +37,7 @@ database. ## Step 1/5. Install the Teleport Database Service -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) Install Teleport on the host where you will run the Teleport Database Service: diff --git a/docs/pages/database-access/enroll-managed-databases/mongodb-atlas.mdx b/docs/pages/database-access/enroll-managed-databases/mongodb-atlas.mdx index 5e0b53a7248a6..62619ee9cfcbd 100644 --- a/docs/pages/database-access/enroll-managed-databases/mongodb-atlas.mdx +++ b/docs/pages/database-access/enroll-managed-databases/mongodb-atlas.mdx @@ -36,7 +36,7 @@ forwards user traffic to MongoDB Atlas. ## Step 1/4. Set up the Teleport Database Service -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) Install Teleport on the host where you will run the Teleport Database Service: diff --git a/docs/pages/database-access/enroll-managed-databases/snowflake.mdx b/docs/pages/database-access/enroll-managed-databases/snowflake.mdx index 32807d4e8b980..ac5b844c34655 100644 --- a/docs/pages/database-access/enroll-managed-databases/snowflake.mdx +++ b/docs/pages/database-access/enroll-managed-databases/snowflake.mdx @@ -39,7 +39,7 @@ forwards the user's requests to Snowflake as Teleport-authenticated messages. ## Step 1/5. Set up the Teleport Database Service -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) Install and configure Teleport where you will run the Teleport Database Service: diff --git a/docs/pages/database-access/enroll-self-hosted-databases/cassandra-self-hosted.mdx b/docs/pages/database-access/enroll-self-hosted-databases/cassandra-self-hosted.mdx index bdc469ea2b124..b3ae6dc844e06 100644 --- a/docs/pages/database-access/enroll-self-hosted-databases/cassandra-self-hosted.mdx +++ b/docs/pages/database-access/enroll-self-hosted-databases/cassandra-self-hosted.mdx @@ -31,7 +31,7 @@ description: How to configure Teleport database access with Cassandra and Scylla ## Step 1/5. Set up the Teleport Database Service -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) Install and configure Teleport where you will run the Teleport Database Service: diff --git a/docs/pages/database-access/enroll-self-hosted-databases/clickhouse-self-hosted.mdx b/docs/pages/database-access/enroll-self-hosted-databases/clickhouse-self-hosted.mdx index acb22a4aa4a75..d10886659e2d5 100644 --- a/docs/pages/database-access/enroll-self-hosted-databases/clickhouse-self-hosted.mdx +++ b/docs/pages/database-access/enroll-self-hosted-databases/clickhouse-self-hosted.mdx @@ -58,7 +58,7 @@ choose: ## Step 1/5. Create a Teleport token and user -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) (!docs/pages/includes/database-access/create-user.mdx!) diff --git a/docs/pages/database-access/enroll-self-hosted-databases/cockroachdb-self-hosted.mdx b/docs/pages/database-access/enroll-self-hosted-databases/cockroachdb-self-hosted.mdx index 941f4ed1e0e41..b7878caf8750d 100644 --- a/docs/pages/database-access/enroll-self-hosted-databases/cockroachdb-self-hosted.mdx +++ b/docs/pages/database-access/enroll-self-hosted-databases/cockroachdb-self-hosted.mdx @@ -37,7 +37,7 @@ description: How to configure Teleport database access with self-hosted Cockroac ## Step 1/4. Set up the Teleport Database Service -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) Install and configure Teleport where you will run the Teleport Database Service: diff --git a/docs/pages/database-access/enroll-self-hosted-databases/elastic.mdx b/docs/pages/database-access/enroll-self-hosted-databases/elastic.mdx index ca08606b5c542..50a63a0131367 100644 --- a/docs/pages/database-access/enroll-self-hosted-databases/elastic.mdx +++ b/docs/pages/database-access/enroll-self-hosted-databases/elastic.mdx @@ -26,7 +26,7 @@ description: How to configure Teleport database access with Elasticsearch. ## Step 1/5. Set up the Teleport Database Service -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) Install and configure Teleport where you will run the Teleport Database Service: diff --git a/docs/pages/database-access/enroll-self-hosted-databases/mongodb-self-hosted.mdx b/docs/pages/database-access/enroll-self-hosted-databases/mongodb-self-hosted.mdx index be0b952d7c17f..b3ba4a8614597 100644 --- a/docs/pages/database-access/enroll-self-hosted-databases/mongodb-self-hosted.mdx +++ b/docs/pages/database-access/enroll-self-hosted-databases/mongodb-self-hosted.mdx @@ -44,7 +44,7 @@ videoBanner: 6lgVObxoLkc ### Set up the Teleport Database service -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) Install and configure Teleport where you will run the Teleport Database Service: diff --git a/docs/pages/database-access/enroll-self-hosted-databases/mysql-self-hosted.mdx b/docs/pages/database-access/enroll-self-hosted-databases/mysql-self-hosted.mdx index 7eef64bf40dcc..2b50366f31018 100644 --- a/docs/pages/database-access/enroll-self-hosted-databases/mysql-self-hosted.mdx +++ b/docs/pages/database-access/enroll-self-hosted-databases/mysql-self-hosted.mdx @@ -32,7 +32,7 @@ description: How to configure Teleport database access with self-hosted MySQL/Ma ## Step 1/4. Create the Teleport Database Token -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) ## Step 2/4. Create a certificate/key pair diff --git a/docs/pages/database-access/enroll-self-hosted-databases/oracle-self-hosted.mdx b/docs/pages/database-access/enroll-self-hosted-databases/oracle-self-hosted.mdx index d398a679e61aa..69842ac20b986 100644 --- a/docs/pages/database-access/enroll-self-hosted-databases/oracle-self-hosted.mdx +++ b/docs/pages/database-access/enroll-self-hosted-databases/oracle-self-hosted.mdx @@ -30,7 +30,7 @@ description: How to configure Teleport database access with Oracle. ## Step 1/6. Create a Teleport token and user -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) diff --git a/docs/pages/database-access/enroll-self-hosted-databases/postgres-self-hosted.mdx b/docs/pages/database-access/enroll-self-hosted-databases/postgres-self-hosted.mdx index 12cbdc4e816f8..4278706303541 100644 --- a/docs/pages/database-access/enroll-self-hosted-databases/postgres-self-hosted.mdx +++ b/docs/pages/database-access/enroll-self-hosted-databases/postgres-self-hosted.mdx @@ -33,7 +33,7 @@ description: How to configure Teleport database access with self-hosted PostgreS ## Step 1/5. Create a Teleport token and user -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) ### Create a Teleport user diff --git a/docs/pages/database-access/enroll-self-hosted-databases/redis-cluster.mdx b/docs/pages/database-access/enroll-self-hosted-databases/redis-cluster.mdx index e5167b5d8332a..5b5fc7e1a2890 100644 --- a/docs/pages/database-access/enroll-self-hosted-databases/redis-cluster.mdx +++ b/docs/pages/database-access/enroll-self-hosted-databases/redis-cluster.mdx @@ -44,7 +44,7 @@ If you want to configure Redis Standalone, please read [Database Access with Red ## Step 1/6. Set up the Teleport Database Service -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) Install and configure Teleport where you will run the Teleport Database Service: diff --git a/docs/pages/database-access/enroll-self-hosted-databases/redis.mdx b/docs/pages/database-access/enroll-self-hosted-databases/redis.mdx index a303a58ce8567..beb772e21c107 100644 --- a/docs/pages/database-access/enroll-self-hosted-databases/redis.mdx +++ b/docs/pages/database-access/enroll-self-hosted-databases/redis.mdx @@ -44,7 +44,7 @@ If you want to configure Redis Cluster, please read [Database Access with Redis ## Step 1/5. Set up the Teleport Database Service -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) Install and configure Teleport where you will run the Teleport Database Service: diff --git a/docs/pages/database-access/enroll-self-hosted-databases/sql-server-ad-pkinit.mdx b/docs/pages/database-access/enroll-self-hosted-databases/sql-server-ad-pkinit.mdx index 64847bfbfa085..aa4ce33048d1a 100644 --- a/docs/pages/database-access/enroll-self-hosted-databases/sql-server-ad-pkinit.mdx +++ b/docs/pages/database-access/enroll-self-hosted-databases/sql-server-ad-pkinit.mdx @@ -208,7 +208,7 @@ from there, you can copy and use it on your database configuration. ## Step 4/7. Set up the Teleport Database Service -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) Install Teleport on the host where you will run the Teleport Database Service: diff --git a/docs/pages/database-access/enroll-self-hosted-databases/vitess.mdx b/docs/pages/database-access/enroll-self-hosted-databases/vitess.mdx index abb84cacb20c5..3b6cf827dce18 100644 --- a/docs/pages/database-access/enroll-self-hosted-databases/vitess.mdx +++ b/docs/pages/database-access/enroll-self-hosted-databases/vitess.mdx @@ -37,7 +37,7 @@ description: How to configure Teleport database access for Vitess (MySQL protoco ## Step 1/4. Create the Teleport Database Token -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) ## Step 2/4. Create a certificate/key pair diff --git a/docs/pages/database-access/getting-started.mdx b/docs/pages/database-access/getting-started.mdx index b574b6eeb52f8..b440d9c10c61f 100644 --- a/docs/pages/database-access/getting-started.mdx +++ b/docs/pages/database-access/getting-started.mdx @@ -87,7 +87,7 @@ See the [Automatic User Provisioning](./rbac.mdx) guide for how to configure Tel ## Step 2/5. Configure the Teleport Database Service -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) (!docs/pages/includes/database-access/alternative-methods-join.mdx!) diff --git a/docs/pages/includes/database-access/rds-proxy.mdx b/docs/pages/includes/database-access/rds-proxy.mdx index 0ea6e3be47231..bfaccfbc4809b 100644 --- a/docs/pages/includes/database-access/rds-proxy.mdx +++ b/docs/pages/includes/database-access/rds-proxy.mdx @@ -40,7 +40,7 @@ automatically enroll all AWS databases in your infrastructure. ## Step 2/7. Create a Teleport Database Service configuration -(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db"!) +(!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) (!docs/pages/includes/database-access/alternative-methods-join.mdx!) diff --git a/docs/pages/includes/tctl-token.mdx b/docs/pages/includes/tctl-token.mdx index ed6f6f626345f..a2f1ad05eee6f 100644 --- a/docs/pages/includes/tctl-token.mdx +++ b/docs/pages/includes/tctl-token.mdx @@ -1,5 +1,3 @@ -{{ tokenFile="/tmp/token" }} - The {{ serviceName }} Service requires a valid join token to join your Teleport cluster. Run the following `tctl` command and save the token output in `{{ tokenFile }}` on the server that will run the {{ serviceName }} Service: