From ed39172b3711449123690aadcf7a584b3afeb3eb Mon Sep 17 00:00:00 2001 From: Blake Covarrubias Date: Mon, 14 Sep 2020 19:02:43 -0700 Subject: [PATCH] docs: Add -node-identity option to token and role command (#8671) Document `-node-identity` option which was added in #7970 for `acl token ` and `acl role ` commands. --- website/pages/commands/acl/role/create.mdx | 4 ++++ website/pages/commands/acl/role/update.mdx | 4 ++++ website/pages/commands/acl/token/create.mdx | 4 ++++ website/pages/commands/acl/token/update.mdx | 7 +++++++ 4 files changed, 19 insertions(+) diff --git a/website/pages/commands/acl/role/create.mdx b/website/pages/commands/acl/role/create.mdx index 28cdc167f5..f7b450eb67 100644 --- a/website/pages/commands/acl/role/create.mdx +++ b/website/pages/commands/acl/role/create.mdx @@ -29,6 +29,10 @@ Usage: `consul acl role create [options] [args]` - `-name=` - The new role's name. This flag is required. +- `-node-identity=` - Name of a node identity to use for this role. May + be specified multiple times. Format is `NODENAME:DATACENTER`. Added in Consul + 1.8.1. + - `-policy-id=` - ID of a policy to use for this role. May be specified multiple times diff --git a/website/pages/commands/acl/role/update.mdx b/website/pages/commands/acl/role/update.mdx index c59dc15445..61a2851be7 100644 --- a/website/pages/commands/acl/role/update.mdx +++ b/website/pages/commands/acl/role/update.mdx @@ -36,6 +36,10 @@ Usage: `consul acl role update [options] [args]` - `-name=` - The role name. +- `-node-identity=` - Name of a node identity to use for this role. May + be specified multiple times. Format is `NODENAME:DATACENTER`. Added in Consul + 1.8.1. + - `-no-merge` - Do not merge the current role information with what is provided to the command. Instead overwrite all fields with the exception of the role ID which is immutable. diff --git a/website/pages/commands/acl/token/create.mdx b/website/pages/commands/acl/token/create.mdx index 70999b2aab..454cb95d06 100644 --- a/website/pages/commands/acl/token/create.mdx +++ b/website/pages/commands/acl/token/create.mdx @@ -36,6 +36,10 @@ Usage: `consul acl token create [options] [args]` - `-meta` - Indicates that token metadata such as the content hash and raft indices should be shown for each entry. +- `-node-identity=` - Name of a node identity to use for this role. May + be specified multiple times. Format is `NODENAME:DATACENTER`. Added in Consul + 1.8.1. + - `-policy-id=` - ID of a policy to use for this token. May be specified multiple times. - `-policy-name=` - Name of a policy to use for this token. May be specified multiple times. diff --git a/website/pages/commands/acl/token/update.mdx b/website/pages/commands/acl/token/update.mdx index db48904b3b..543a3660d2 100644 --- a/website/pages/commands/acl/token/update.mdx +++ b/website/pages/commands/acl/token/update.mdx @@ -28,6 +28,9 @@ Usage: `consul acl token update [options]` - `-id=` - The Accessor ID of the token to read. It may be specified as a unique ID prefix but will error if the prefix matches multiple token Accessor IDs +- `merge-node-identities` - Merge the new node identities with the existing node + identities. + - `-merge-policies` - Merge the new policies with the existing policies. - `-merge-roles` - Merge the new roles with the existing roles. @@ -37,6 +40,10 @@ Usage: `consul acl token update [options]` - `-meta` - Indicates that token metadata such as the content hash and Raft indices should be shown for each entry. +- `-node-identity=` - Name of a node identity to use for this role. May + be specified multiple times. Format is `NODENAME:DATACENTER`. Added in Consul + 1.8.1. + - `-policy-id=` - ID of a policy to use for this token. May be specified multiple times. - `-policy-name=` - Name of a policy to use for this token. May be specified multiple times.