Interface VaultSecretBackendDescriptor
-
public interface VaultSecretBackendDescriptorInterface to be implemented by objects that describe a Vault secret backend. Mainly for internal use within the framework.Typically used by
SecretBackendMetadataFactoryto provide path and configuration to create aSecretBackendMetadataobject. Instances are materialized throughBinderand should be therefore annotated with@ConfigurationProperties. Objects implementing this interface can be discovered either from theApplicationContextwhen usingBootstrapConfiguration(deprecated since 3.0) orspring.factorieswhen usingConfigDataLocationResolver.- Author:
- Mark Paluch
- See Also:
SecretBackendMetadataFactory,SecretBackendMetadata
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBackend()Backend path without leading/trailing slashes.booleanisEnabled()
-
-
-
Method Detail
-
getBackend
String getBackend()
Backend path without leading/trailing slashes.- Returns:
- the backend path such as
secretormysql.
-
isEnabled
boolean isEnabled()
- Returns:
- true if the backend is enabled.
-
-