VAULT-24240: Reject delete destination request if sync is disabled (#11013) (#11062)

* reject destination delete request if sync is disabled

* add changelog

* removed duplicate code, moved error message to separate designated file

* constructing error on a new line for readability

---------

Co-authored-by: Arjun K S <arjun.ks@hashicorp.com>
Co-authored-by: Arjun K S <Arjun.KS@ibm.com>
This commit is contained in:
Vault Automation 2025-12-03 10:40:13 -05:00 committed by GitHub
parent cae5303ed9
commit 643ed25952
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

3
changelog/_11013.txt Normal file
View file

@ -0,0 +1,3 @@
```release-note:bug
secrets-sync (enterprise): Fix issue where sync store deletion could be attempted when sync is disabled.
```