From 0cc6693252bece353e1644da9140af6da3a0798c Mon Sep 17 00:00:00 2001 From: kitography Date: Tue, 26 Apr 2022 13:26:43 -0400 Subject: [PATCH] Fix the AllowedValues and description on "key_type" on the roles endpoint. (#15184) --- builtin/logical/pki/path_roles.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/logical/pki/path_roles.go b/builtin/logical/pki/path_roles.go index ea7dda65d2..07fee55dc1 100644 --- a/builtin/logical/pki/path_roles.go +++ b/builtin/logical/pki/path_roles.go @@ -211,8 +211,8 @@ protection use. Defaults to false. See also RFC 5280 Section 4.2.1.12.`, Type: framework.TypeString, Default: "rsa", Description: `The type of key to use; defaults to RSA. "rsa" -"ec" and "ed25519" are the only valid values.`, - AllowedValues: []interface{}{"rsa", "ec", "ed25519"}, +"ec", "ed25519" and "any" are the only valid values.`, + AllowedValues: []interface{}{"rsa", "ec", "ed25519", "any"}, }, "key_bits": {