11 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
1a9c01ba94
UI: PKI OpenAPI attributes update (#27386) 2024-06-06 14:58:23 -05: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