[FEATURE REQ] Make spring-cloud-azure-starter-keyvault-secrets' configuration properties more reasonable #28310
Labels
azure-spring
All azure-spring related issues
azure-spring-keyvault
Spring keyvault related issues.
Client
This issue points to a problem in the data-plane of the library.
feature-request
This issue requires a new behavior in the product in order be resolved.
Milestone
Context
In #28128 (comment), @stliu think current property's behavior does not reasonable.
Problem
If we satisfy this requirement, some other property may confuse customer. For example: Does
spring.cloud.azure.keyvault.secret.enable
orspring.cloud.azure.keyvault.secret.enable
can be used to disable all Key Vault property-source?Goal
For spring-cloud-azure-starter-keyvault-secret's cofigurable properties, design each property's function, implement it, and explain it well in reference doc and changelog.
Solution
Here is a proposal about each property's function:
Yaml File Examples
Behavior Changes
# 11 ~ # 16:
SecretClient
bean, thisSecretClient
will not enable the feature of property-source.SecretClient
bean and enable the feature of property-source.# 10:
#17
~#33
.# 11
~# 16
. Note: It has no relationship with property-source configured in#17
~#33
.# 9:
bean configured by
# 11~
# 16`.#10
~#33
.Disable All Property-Sources:
In new design, there is no property used to disable all property-sources.
Priority of Property-Sources
# 11
has the highest priority.# 17
, the priority is decided by the order. For example:# 18
has higher priority than# 26
.Behavior Not Changed
All other behaviors not changed. For example:
# 13
is not configured, it will use# 3
instead.# 22
is not configured, it will use# 3
instead. Note: It has no relationship with#13
.The text was updated successfully, but these errors were encountered: