From 4e2a11a841a12a9a1c81d1ea65a0c5899650c79f Mon Sep 17 00:00:00 2001 From: Steven Martin Date: Mon, 30 Sep 2024 21:02:37 -0400 Subject: [PATCH 1/2] docs: update api user --- docs/pages/admin-guides/api/getting-started.mdx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/pages/admin-guides/api/getting-started.mdx b/docs/pages/admin-guides/api/getting-started.mdx index 833cf2752d5a6..0d0cb073f3a76 100644 --- a/docs/pages/admin-guides/api/getting-started.mdx +++ b/docs/pages/admin-guides/api/getting-started.mdx @@ -31,9 +31,8 @@ Here are the steps we'll walkthrough: Create a user `api-admin` with the built-in role `editor`: ```code -# Run this directly on your Auth Server unless you are using Teleport Cloud -# Add a user and login via the Proxy Service -$ sudo tctl users add api-admin --roles=editor +# Add a user and login with that user +$ tctl users add api-admin --roles=editor ``` ## Step 2/3. Generate client credentials From 6c4c21fa3c24e1b66ed9243c7b77b8358cdd2003 Mon Sep 17 00:00:00 2001 From: Steven Martin Date: Tue, 1 Oct 2024 10:15:58 -0400 Subject: [PATCH 2/2] docs: update verbiage for api user Co-authored-by: Paul Gottschling --- docs/pages/admin-guides/api/getting-started.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/pages/admin-guides/api/getting-started.mdx b/docs/pages/admin-guides/api/getting-started.mdx index 0d0cb073f3a76..4f9287fc5e14e 100644 --- a/docs/pages/admin-guides/api/getting-started.mdx +++ b/docs/pages/admin-guides/api/getting-started.mdx @@ -31,7 +31,6 @@ Here are the steps we'll walkthrough: Create a user `api-admin` with the built-in role `editor`: ```code -# Add a user and login with that user $ tctl users add api-admin --roles=editor ```