mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 12:26:34 +02:00
Docs: Approle removed incorrect token_num_uses that's incomplete with batch (#27909)
Corrected Docs at: [vault/docs/auth/approle **Via the CLI**](https://developer.hashicorp.com/vault/docs/auth/approle#via-the-cli-1) which results in the error message below on versions near to Vault 1.17.x. ``` Error writing data to auth/approle/role/my-role: Error making API request. URL: PUT https://.../v1/auth/approle/role/my-role Code: 400. Errors: * 'token_type' cannot be 'batch' or 'default_batch' when set to generate tokens with limited use count ``` Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
This commit is contained in:
parent
6b9261e1db
commit
37dbe7bf38
@ -94,7 +94,6 @@ management tool.
|
||||
$ vault write auth/approle/role/my-role \
|
||||
token_type=batch \
|
||||
secret_id_ttl=10m \
|
||||
token_num_uses=10 \
|
||||
token_ttl=20m \
|
||||
token_max_ttl=30m \
|
||||
secret_id_num_uses=40
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user