vault/builtin/logical/database
Vault Automation 9839d40b10
Backport rotationMgr: enable RM to send rotation information to plugins on registration/rotation operations into ce/main (#12308)
* rotation-manager: enable RM to send rotation information to plugins on registration/rotation operations (#11810)

* initial commit for sending NVR to plugins

* add changelog

* add NVR to plugin fields, add RotationInfo to GRPC request handler

* fix tests

* ensure consistent formats on times and ttls

* add translation to allow grpc data transfer

* fix tests and rename fields

* fix missed field renames in tests

* make all methods net-new for backwards compatibility

* update mock plugin and add oss stub back

* remove method with no usages

* Address wrapper comments

* Rebuild proto

* Nil check around SetRotationInfo, return n/a for no last_vault_rotation

* Fix error to match other instances

* Update fields.go

* Return nil if unset for next/last vault rotation times

---------

Co-authored-by: robmonte <17119716+robmonte@users.noreply.github.com>

* Fix return type in stub method

---------

Co-authored-by: vinay-gopalan <86625824+vinay-gopalan@users.noreply.github.com>
Co-authored-by: robmonte <17119716+robmonte@users.noreply.github.com>
2026-02-12 18:25:47 -06:00
..
dbplugin license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
schedule license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
backend.go Backport Add override_pinned_version support on configure connection for database into ce/main (#10860) 2025-12-01 15:18:26 -08:00
backend_ce.go Backport Add override_pinned_version support on configure connection for database into ce/main (#10860) 2025-12-01 15:18:26 -08:00
backend_ce_test.go Backport rotationManager: add configurable limit to rotation retries with orphaning into ce/main (#11782) 2026-01-15 09:31:40 -06:00
backend_get_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
backend_test.go Backport Add override_pinned_version support on configure connection for database into ce/main (#10860) 2025-12-01 15:18:26 -08:00
credentials.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
credentials_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
mocks_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
mockv4.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
mockv5.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
observation_consts.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
path_config_connection.go Backport Add override_pinned_version support on configure connection for database into ce/main (#10860) 2025-12-01 15:18:26 -08:00
path_config_connection_ce.go Backport Add override_pinned_version support on configure connection for database into ce/main (#10860) 2025-12-01 15:18:26 -08:00
path_config_connection_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
path_creds_create.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
path_roles.go VAULT-41161 Update database observations to use RFC3339 datetimes (#11047) (#11053) 2025-12-02 17:43:11 +00:00
path_roles_ce.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
path_roles_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
path_rotate_credentials.go Backport rotationMgr: enable RM to send rotation information to plugins on registration/rotation operations into ce/main (#12308) 2026-02-12 18:25:47 -06:00
path_rotate_credentials_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
rollback.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
rollback_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
rotation.go VAULT-41161 Update database observations to use RFC3339 datetimes (#11047) (#11053) 2025-12-02 17:43:11 +00:00
rotation_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
secret_creds.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
version_wrapper.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
version_wrapper_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00
versioning_large_test.go license: update headers to IBM Corp. (#10229) (#10233) 2025-10-21 15:20:20 -06:00