From a2a7fdc43fb6c31bd45c515c947a1e690ef7e66a Mon Sep 17 00:00:00 2001 From: Steven Clark Date: Wed, 18 May 2022 11:17:58 -0400 Subject: [PATCH] Fix a generic PKI description for key_name and issuer_name fields (#15495) - The field could be used to be applied to keys/issuers being generated or to update the name on existing values. --- builtin/logical/pki/fields.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/builtin/logical/pki/fields.go b/builtin/logical/pki/fields.go index b53ddea36..ec7dab86d 100644 --- a/builtin/logical/pki/fields.go +++ b/builtin/logical/pki/fields.go @@ -356,7 +356,7 @@ func addIssuerRefNameFields(fields map[string]*framework.FieldSchema) map[string func addIssuerNameField(fields map[string]*framework.FieldSchema) map[string]*framework.FieldSchema { fields["issuer_name"] = &framework.FieldSchema{ Type: framework.TypeString, - Description: `Provide a name to the generated issuer, the name + Description: `Provide a name to the generated or existing issuer, the name must be unique across all issuers and not be the reserved value 'default'`, } return fields @@ -382,9 +382,8 @@ func addKeyRefNameFields(fields map[string]*framework.FieldSchema) map[string]*f func addKeyNameField(fields map[string]*framework.FieldSchema) map[string]*framework.FieldSchema { fields[keyNameParam] = &framework.FieldSchema{ Type: framework.TypeString, - Description: `Provide a name for the key that will be generated, -the name must be unique across all keys and not be the reserved value -'default'`, + Description: `Provide a name to the generated or existing key, the name +must be unique across all keys and not be the reserved value 'default'`, } return fields