Skip to content

Commit

Permalink
fix docs nav data
Browse files Browse the repository at this point in the history
  • Loading branch information
skpratt committed Jan 26, 2023
1 parent 75ea0b3 commit fc70b21
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 17 deletions.
4 changes: 2 additions & 2 deletions website/content/commands/acl/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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).
Expand Down
4 changes: 0 additions & 4 deletions website/content/commands/acl/token/list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,20 @@ 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
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
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:
Expand All @@ -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)
```
10 changes: 0 additions & 10 deletions website/content/commands/acl/token/update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,6 @@ Usage: `consul acl token update [options]`
- `-service-identity=<value>` - 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`.

Expand Down
2 changes: 1 addition & 1 deletion website/data/commands-nav-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
"path": "acl/token/update"
}
]
},
}
]
},
{
Expand Down

0 comments on commit fc70b21

Please sign in to comment.