Skip to content

Commit

Permalink
Fixes for -listing-visibility flag values in CLI tools (#15838)
Browse files Browse the repository at this point in the history
See also: #15833, #15209

Signed-off-by: Brian Candler <[email protected]>
  • Loading branch information
candlerb authored Jun 7, 2022
1 parent 3419c27 commit 47e72a9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion website/content/docs/commands/auth/enable.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ flags](/docs/commands) included on all commands.
this auth method.

- `-listing-visibility` `(string: "")` - The flag to toggle whether to show the
mount in the UI-specific listing endpoint.
mount in the UI-specific listing endpoint. Valid values are `"unauth"` or `"hidden"`,
with the default `""` being equivalent to `"hidden"`.


- `-local` `(bool: false)` - Mark the auth method as local-only. Local auth
methods are not replicated nor removed by replication.
Expand Down
3 changes: 2 additions & 1 deletion website/content/docs/commands/auth/tune.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ flags](/docs/commands) included on all commands.
This overrides the current stored value, if any.

- `-listing-visibility` `(string: "")` - The flag to toggle whether to show the
mount in the UI-specific listing endpoint.
mount in the UI-specific listing endpoint. Valid values are `"unauth"` or `"hidden"`.
Passing empty string leaves the current setting unchanged.

- `-max-lease-ttl` `(duration: "")` - The maximum lease TTL for this auth
method. If unspecified, this defaults to the Vault server's globally
Expand Down
3 changes: 2 additions & 1 deletion website/content/docs/commands/secrets/tune.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ flags](/docs/commands) included on all commands.
This overrides the current stored value, if any.

- `-listing-visibility` `(string: "")` - The flag to toggle whether to show the
mount in the UI-specific listing endpoint.
mount in the UI-specific listing endpoint. Valid values are `"unauth"` or `"hidden"`.
Passing empty string leaves the current setting unchanged.

- `-max-lease-ttl` `(duration: "")` - The maximum lease TTL for this secrets
engine. If unspecified, this defaults to the Vault server's globally
Expand Down

0 comments on commit 47e72a9

Please sign in to comment.