Skip to content

Commit

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

Signed-off-by: Brian Candler <[email protected]>
  • Loading branch information
candlerb committed Jun 7, 2022
1 parent da2fd89 commit ac13ba3
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 ac13ba3

Please sign in to comment.