mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 02:57:59 +00:00
docs: detail policies parameter for auth methods using tokenutil (#18015)
* docs: detail policies parameter for auth methods using tokenutil * Update website/content/partials/tokenfields.mdx Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
This commit is contained in:
@@ -451,11 +451,12 @@ constrain requests, using the following options:
|
|||||||
```ruby
|
```ruby
|
||||||
# This allows the user to update the userpass auth method's user
|
# This allows the user to update the userpass auth method's user
|
||||||
# configurations (e.g., "password") but cannot update the "token_policies"
|
# configurations (e.g., "password") but cannot update the "token_policies"
|
||||||
# parameter value.
|
# and "policies" parameter values.
|
||||||
path "auth/userpass/users/*" {
|
path "auth/userpass/users/*" {
|
||||||
capabilities = ["update"]
|
capabilities = ["update"]
|
||||||
denied_parameters = {
|
denied_parameters = {
|
||||||
"token_policies" = []
|
"token_policies" = []
|
||||||
|
"policies" = []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
generated tokens. This current value of this will be referenced at renewal
|
generated tokens. This current value of this will be referenced at renewal
|
||||||
time.
|
time.
|
||||||
- `token_policies` `(array: [] or comma-delimited string: "")` - List of
|
- `token_policies` `(array: [] or comma-delimited string: "")` - List of
|
||||||
|
token policies to encode onto generated tokens. Depending on the auth method, this
|
||||||
|
list may be supplemented by user/group/other values.
|
||||||
|
- `policies` `(array: [] or comma-delimited string: "")` - List of token
|
||||||
policies to encode onto generated tokens. Depending on the auth method, this
|
policies to encode onto generated tokens. Depending on the auth method, this
|
||||||
list may be supplemented by user/group/other values.
|
list may be supplemented by user/group/other values.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user