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 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:
      getBackend in interface org.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.