From fc70b21cc95988c07df8ddacd9701cdc65f556a2 Mon Sep 17 00:00:00 2001 From: skpratt Date: Thu, 26 Jan 2023 17:46:58 -0600 Subject: [PATCH] fix docs nav data --- website/content/commands/acl/index.mdx | 4 ++-- website/content/commands/acl/token/list.mdx | 4 ---- website/content/commands/acl/token/update.mdx | 10 ---------- website/data/commands-nav-data.json | 2 +- 4 files changed, 3 insertions(+), 17 deletions(-) diff --git a/website/content/commands/acl/index.mdx b/website/content/commands/acl/index.mdx index 73aabb66380aa..57bff03fe8cd8 100644 --- a/website/content/commands/acl/index.mdx +++ b/website/content/commands/acl/index.mdx @@ -2,7 +2,7 @@ layout: commands page_title: 'Commands: ACL' description: >- - The `consul acl` command exposes top-level commands for bootstrapping the ACL system, managing tokens and policies, translating legacy rules, and setting the tokens for use by an agent. + The `consul acl` command exposes top-level commands for bootstrapping the ACL system, managing tokens and policies, and setting the tokens for use by an agent. --- # Consul ACLs @@ -11,7 +11,7 @@ Command: `consul acl` The `acl` command is used to interact with Consul's ACLs via the command line. It exposes top-level commands for bootstrapping the ACL system, -managing tokens and policies, translating legacy rules, and setting the +managing tokens and policies, and setting the tokens for use by an agent. ACLs are also accessible via the [HTTP API](/consul/api-docs/acl). diff --git a/website/content/commands/acl/token/list.mdx b/website/content/commands/acl/token/list.mdx index d613dba5c5de6..531b4cc68ed8c 100644 --- a/website/content/commands/acl/token/list.mdx +++ b/website/content/commands/acl/token/list.mdx @@ -54,7 +54,6 @@ AccessorID: 4d123dff-f460-73c3-02c4-8dd64d136e01 Description: Bootstrap Token (Global Management) Local: false Create Time: 2018-10-22 11:27:04.479026 -0400 EDT -Legacy: false Policies: 00000000-0000-0000-0000-000000000001 - global-management @@ -62,7 +61,6 @@ AccessorID: 00000000-0000-0000-0000-000000000002 Description: Anonymous Token Local: false Create Time: 0001-01-01 00:00:00 +0000 UTC -Legacy: false Policies: 06acc965-df4b-5a99-58cb-3250930c6324 - node-services-read @@ -70,7 +68,6 @@ AccessorID: 986193b5-e2b5-eb26-6264-b524ea60cc6d Description: WonderToken Local: false Create Time: 2018-10-22 15:33:39.01789 -0400 EDT -Legacy: false Policies: 06acc965-df4b-5a99-58cb-3250930c6324 - node-services-read Service Identities: @@ -80,7 +77,6 @@ AccessorID: def4895d-eeb9-f78a-fbb9-2a15a568af31 Description: Node 1 agent token Local: false Create Time: 2020-12-22 04:19:30.552528733 +0000 UTC -Legacy: false Node Identities: node1 (Datacenter: dc1) ``` diff --git a/website/content/commands/acl/token/update.mdx b/website/content/commands/acl/token/update.mdx index 33a5380d5a515..28158e6db79cb 100644 --- a/website/content/commands/acl/token/update.mdx +++ b/website/content/commands/acl/token/update.mdx @@ -60,16 +60,6 @@ Usage: `consul acl token update [options]` - `-service-identity=` - Name of a service identity to use for this token. May be specified multiple times. Format is the `SERVICENAME` or `SERVICENAME:DATACENTER1,DATACENTER2,...` -- `-upgrade-legacy` - Add new polices to a legacy token replacing all existing - rules. This will cause the legacy token to behave exactly like a new token - but keep the same secret. - -~> When upgrading a legacy token you must ensure that the new policy or policies -specified grant equivalent or appropriate access for the existing clients using -this token. You can find examples on how to use the parameter in the [legacy -token -migration](https://learn.hashicorp.com/consul/day-2-agent-authentication/migrate-acl-tokens) -guide. - `-format={pretty|json}` - Command output format. The default value is `pretty`. diff --git a/website/data/commands-nav-data.json b/website/data/commands-nav-data.json index 0518fb6a3df34..62ed01a400482 100644 --- a/website/data/commands-nav-data.json +++ b/website/data/commands-nav-data.json @@ -166,7 +166,7 @@ "path": "acl/token/update" } ] - }, + } ] }, {