20 Commits

Author SHA1 Message Date
Steven Clark
2db2a9fb5d
PKI: Track last time auto tidy was run across restarts (#28488)
* Track the last PKI auto-tidy time ran for use across nodes

 - If the interval time for auto-tidy is longer then say a regularly
   scheduled restart of Vault, auto-tidy is never run. This is due to
   the time of the last run of tidy is only kept in memory and
   initialized on startup to the current time
 - Store the last run of any tidy, to maintain previous behavior, to
   a cluster local file, which is read in/initialized upon a mount
   initialization.

* Add auto-tidy configuration fields for backing off at startup

* Add new auto-tidy fields to UI

* Update api docs for auto-tidy

* Add cl

* Update field description text

* Apply Claire's suggestions from code review

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>

* Implementing PR feedback from the UI team

* remove explicit defaults and types so we retrieve from backend, decouple enabling auto tidy from duration, move params to auto settings section

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2024-09-26 09:47:11 -04:00
Angel Garbarino
2b031adf34
fix keyUsage openapi helptext update (#28503) 2024-09-24 15:53:32 -06:00
claire bontempo
8567b75ff2
UI: add allow_empty_principals to ssh engine (fixes failing test) (#28484) 2024-09-24 09:09:04 -07:00
Chelsea Shaw
c7ed13f1a2
UI: Add expected attr to pass tests (#28389)
* Add expected attr to pass tests

* add tidyCmpv2NonceStore to tidy forms
2024-09-13 13:00:57 -07:00
Chelsea Shaw
5f2cedb4b9
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>
2024-09-03 09:45:32 -05:00
Chelsea Shaw
f46bd66487
UI: Add unsupportedCriticalCertExtensions to jwt config expected payload (#27996) 2024-08-06 12:54:41 -05:00
Chelsea Shaw
1a9c01ba94
UI: PKI OpenAPI attributes update (#27386) 2024-06-06 14:58:23 -05:00
Angel Garbarino
416d232755
fix (#27196) 2024-05-23 12:28:26 -07:00
Angel Garbarino
18102bdf00
update open to match backend (#27158) 2024-05-21 10:45:04 -06:00
Angel Garbarino
c6af47f77e
add in open api attr to expected test result (#26980) 2024-05-13 10:56:14 -06:00
Chelsea Shaw
6891be0551
UI: Update PKI Tidy openApi test (#26935)
* Add tidy_cert_metadata to PKI tidy forms

* address failing tidy tests

* remove expect count
2024-05-10 17:39:12 +00:00
claire bontempo
eabb8e10a0
UI: Add max ttl to acme certificates (#26906)
* add max ttl to acme

* change test title?

* hide toggle

* update sign-intermediate

* add enforce_leaf_not_after_behavior
2024-05-09 19:44:21 +00:00
claire bontempo
3282554d7a
UI: Update openapi to include metadata for pki certificates (#26785)
* fix openapi failures

* add metadata to certificate form

* POC for adding metadata

* Revert "POC for adding metadata"

This reverts commit 1bb90579d62293a80da4e3f4ea173196471ed450.

* Revert "add metadata to certificate form"

This reverts commit 619d81fa7b72e6f2beb8915b7324babb308dd89d.
2024-05-02 15:49:35 +00:00
Chelsea Shaw
82eda875dd
UI: Test reorganization (#26340) 2024-04-10 22:01:35 +00:00
Chelsea Shaw
22db889bce
Update openAPI response for cert auth config (#25473) 2024-02-16 10:09:21 -06:00
Chelsea Shaw
28d81ed832
UI: Fix openAPI test for JWT (#25331)
* Fix openAPI test for JWT

* Revert "Fix openAPI test for JWT"

This reverts commit ad5d1f4ca599bacf2a035ee66a6780bdb3bbd985.

* Fix openAPI test for JWT

* Prevent jwks pairs from showing in UI until we have a component to handle the data
2024-02-09 10:57:50 -06:00
Chelsea Shaw
588a43cadb
UI: k8s auth openapi update (#25218) 2024-02-05 13:29:57 -06:00
Angel Garbarino
e9f7c5bcef
Fix failing LDAP test with new attribute (#24273)
* add in new attribute to fix failing api test

* fix replication test failures
2023-11-28 17:56:33 +00:00
Hamid Ghaf
4281487b07
run copywrite headers (#23788) 2023-10-23 15:53:56 +00:00
Chelsea Shaw
07d72c842e
UI: OpenAPI test coverage (#23583) 2023-10-19 09:59:12 -05:00