Package io.quarkus.vault.runtime.config
Interface VaultRuntimeConfig.KvPathConfig
-
- Enclosing interface:
- VaultRuntimeConfig
public static interface VaultRuntimeConfig.KvPathConfig
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>paths()List of comma separated vault paths in kv store, where all properties will be available as **prefixed** MP config properties.StringtoString()
-
-
-
Method Detail
-
paths
@WithParentName List<String> paths()
List of comma separated vault paths in kv store, where all properties will be available as **prefixed** MP config properties.For instance if the application properties contains `quarkus.vault.secret-config-kv-path.myprefix=config`, and vault path `secret/config` contains `foo=bar`, then `myprefix.foo` will be available in the MP config.
If the same property is available in 2 different paths for the same prefix, the last one will win.
See also the documentation for the `quarkus.vault.kv-secret-engine-mount-path` property for some insights on how the full Vault url gets built.
-
-