vault/helper
Mike Palmiotto 6d5759ecb3
identity: Introduce ActivationFunc for managing feature state (#29467)
* identity: Ensure state is changed on activation

This PR introduces some changes to the way activation flags are
processed in Vault.

Rather than reaching into subsystems and modifying
state from the activationflags package, each plugin can now register its
own ActivationFunc. Updates to activation flags now trigger the the
feature's ActivationFunc, which can encapsulate the associated
subsystem state.

We include a few bugfixes and minor cosmetic changes, like updates to
log lines and godocs.

* Check for nil system backend

* Move deduplication activation to common file

* Add identity dedup activation log lines

* Make interface methods clearer

* Clean up some comments

* More cleanups

* fixup! More cleanups

* fixup! More cleanups
2025-01-31 12:25:07 -03:00
..
activationflags identity: Introduce ActivationFunc for managing feature state (#29467) 2025-01-31 12:25:07 -03:00
builtinplugins VAULT-32507: CE Changes (#29004) 2024-11-25 14:08:15 -05:00
constants IsEnterprise as const (#26313) 2024-04-09 13:14:02 +01:00
dhutil Remove one more use of ScalarMult from CE (#28585) 2024-10-03 15:59:42 -05:00
experiments Add experiment flag for import (#25205) 2024-02-02 14:18:43 -06:00
fairshare add gosimport to make fmt and run it (#25383) 2024-02-13 14:07:02 -08:00
flag-kv [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
flag-slice [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
forwarding proto: bump protoc-gen-go to 1.36.3 (#29359) 2025-01-22 13:58:43 -05:00
hostutil [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
identity proto: bump protoc-gen-go to 1.36.3 (#29359) 2025-01-22 13:58:43 -05:00
locking chore: fix some function names (#28251) 2024-09-04 09:38:52 -04:00
logging fix -log-file so that it uses the correct name and only adds timestamps on rotation (#24297) 2023-12-01 11:30:34 +00:00
metricsutil helper/metricsutil: Update usage of expfmt (#25947) 2024-03-14 10:13:45 +00:00
monitor [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
namespace [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
osutil Prepare code base for Go 1.24 update. (#29412) 2025-01-27 14:34:07 -05:00
parseip [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
pgpkeys make-fmt (#24940) 2024-01-18 20:00:00 +00:00
pkcs7 Fix PKCS7 parser failing to parse degenerated certificate messages (#27435) 2024-06-11 12:57:54 -04:00
pluginconsts VAULT-32507: CE Changes (#29004) 2024-11-25 14:08:15 -05:00
policies [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
proxyutil VAULT-6803: fix listener issue if using proxy_protocol_behavior with deny_unauthorized for untrusted upstream connections (#27589) 2024-06-26 07:52:13 +00:00
random [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
storagepacker proto: bump protoc-gen-go to 1.36.3 (#29359) 2025-01-22 13:58:43 -05:00
syncmap database: Avoid race condition in connection creation (#26147) 2024-03-26 16:58:07 +00:00
testhelpers fixes for flakes in raft removed tests (#29270) 2025-01-07 13:56:07 +01:00
timeutil Add auto-roll billing start date changes CE changes (#27656) 2024-07-02 10:59:52 -07:00
trace VAULT-31409: trace postUnseal function (#28895) 2024-11-26 15:04:34 -03:00
useragent [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00
versions [COMPLIANCE] License changes (#22290) 2023-08-10 18:14:03 -07:00