Class VaultPostgreSqlProperties
java.lang.Object
org.springframework.cloud.vault.config.databases.VaultPostgreSqlProperties
- All Implemented Interfaces:
DatabaseSecretProperties,org.springframework.cloud.vault.config.VaultSecretBackendDescriptor
@ConfigurationProperties("spring.cloud.vault.postgresql")
@Deprecated
public class VaultPostgreSqlProperties
extends Object
implements DatabaseSecretProperties
Deprecated.
Configuration properties for Vault using the PostgreSQL integration.
- Author:
- Mark Paluch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Backend path.Deprecated.getRole()Deprecated.Role name.Deprecated.booleanDeprecated.booleanDeprecated.Whether the configuration uses static roles.voidsetBackend(String backend) Deprecated.voidsetEnabled(boolean enabled) Deprecated.voidsetPasswordProperty(String passwordProperty) Deprecated.voidDeprecated.voidsetUsernameProperty(String usernameProperty) Deprecated.
-
Constructor Details
-
VaultPostgreSqlProperties
public VaultPostgreSqlProperties()Deprecated.
-
-
Method Details
-
isEnabled
public boolean isEnabled()Deprecated.- Specified by:
isEnabledin interfaceorg.springframework.cloud.vault.config.VaultSecretBackendDescriptor
-
setEnabled
public void setEnabled(boolean enabled) Deprecated. -
getRole
Deprecated.Description copied from interface:DatabaseSecretPropertiesRole name.- Specified by:
getRolein interfaceDatabaseSecretProperties- Returns:
- the role name
-
setRole
Deprecated. -
isStaticRole
public boolean isStaticRole()Deprecated.Description copied from interface:DatabaseSecretPropertiesWhether the configuration uses static roles.- Specified by:
isStaticRolein interfaceDatabaseSecretProperties- Returns:
- true if the configuration uses static roles.
-
getBackend
Deprecated.Description copied from interface:DatabaseSecretPropertiesBackend path.- Specified by:
getBackendin interfaceDatabaseSecretProperties- Specified by:
getBackendin interfaceorg.springframework.cloud.vault.config.VaultSecretBackendDescriptor- Returns:
- the backend path.
-
setBackend
Deprecated. -
getUsernameProperty
Deprecated.- Specified by:
getUsernamePropertyin interfaceDatabaseSecretProperties- Returns:
- name of the target property for the obtained username.
-
setUsernameProperty
Deprecated. -
getPasswordProperty
Deprecated.- Specified by:
getPasswordPropertyin interfaceDatabaseSecretProperties- Returns:
- name of the target property for the obtained password.
-
setPasswordProperty
Deprecated.
-
VaultDatabasePropertiesorVaultDatabasesProperties.