From 5f2cedb4b9fc0f335d5c1912f746de54a5bfe3b9 Mon Sep 17 00:00:00 2001 From: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com> Date: Tue, 3 Sep 2024 09:45:32 -0500 Subject: [PATCH] UI: update expected OpenAPI attrs for test (#28242) * update expected OpenAPI attrs * Add key-usage field to form * undo add to page --------- Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com> --- ui/tests/helpers/openapi/expected-secret-attrs.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui/tests/helpers/openapi/expected-secret-attrs.js b/ui/tests/helpers/openapi/expected-secret-attrs.js index 73ef2955d9..35e664877d 100644 --- a/ui/tests/helpers/openapi/expected-secret-attrs.js +++ b/ui/tests/helpers/openapi/expected-secret-attrs.js @@ -1249,6 +1249,12 @@ const pki = { fieldGroup: 'default', type: 'string', }, + keyUsage: { + editType: 'stringArray', + fieldGroup: 'default', + helpText: + 'A comma-separated string or list of key usages (not extended key usages). Valid values can be found at https://golang.org/pkg/crypto/x509/#KeyUsage -- simply drop the "KeyUsage" part of the name. To remove all key usages from being set, set this value to an empty list. This defaults to CertSign, CRLSign for CAs. If neither of those two set, a warning will be thrown. To use the issuer for CMPv2, DigitalSignature must be set.', + }, locality: { editType: 'stringArray', helpText: 'If set, Locality will be set to this value.',