From 37dbe7bf38e9a51b6c971ff35f439b69880a985f Mon Sep 17 00:00:00 2001 From: aphorise Date: Fri, 2 Aug 2024 21:23:33 +0200 Subject: [PATCH] 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 --- website/content/docs/auth/approle.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/website/content/docs/auth/approle.mdx b/website/content/docs/auth/approle.mdx index a7abcb49cd..f490a55a96 100644 --- a/website/content/docs/auth/approle.mdx +++ b/website/content/docs/auth/approle.mdx @@ -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