Interface DatabaseSecretProperties
- All Superinterfaces:
org.springframework.cloud.vault.config.VaultSecretBackendDescriptor
- All Known Implementing Classes:
VaultCassandraProperties,VaultCouchbaseProperties,VaultDatabaseProperties,VaultElasticsearchProperties,VaultMongoProperties,VaultMySqlProperties,VaultPostgreSqlProperties
public interface DatabaseSecretProperties
extends org.springframework.cloud.vault.config.VaultSecretBackendDescriptor
Configuration properties interface for database secrets.
- Author:
- Mark Paluch, Sebastien Nahelou
-
Method Summary
Modifier and TypeMethodDescriptionBackend path.getRole()Role name.booleanWhether the configuration uses static roles.Methods inherited from interface org.springframework.cloud.vault.config.VaultSecretBackendDescriptor
isEnabled
-
Method Details
-
getRole
String getRole()Role name.- Returns:
- the role name
-
isStaticRole
boolean isStaticRole()Whether the configuration uses static roles.- Returns:
- true if the configuration uses static roles.
- Since:
- 2.2
-
getBackend
String getBackend()Backend path.- Specified by:
getBackendin interfaceorg.springframework.cloud.vault.config.VaultSecretBackendDescriptor- Returns:
- the backend path.
-
getUsernameProperty
String getUsernameProperty()- Returns:
- name of the target property for the obtained username.
-
getPasswordProperty
String getPasswordProperty()- Returns:
- name of the target property for the obtained password.
-