Class SecretManagerConfigurationProperties

java.lang.Object
io.micronaut.gcp.secretmanager.configuration.SecretManagerConfigurationProperties

@ConfigurationProperties("gcp.secret-manager") public class SecretManagerConfigurationProperties extends Object
Configuration for SecretManager clients and config client integration.
Since:
3.4.0
Author:
Vinicius Carvalho
  • Field Details

  • Constructor Details

    • SecretManagerConfigurationProperties

      public SecretManagerConfigurationProperties()
  • Method Details

    • getCustomConfigs

      public Set<String> getCustomConfigs()
      Returns:
      Custom config files to be included as property sources.
    • setCustomConfigs

      public void setCustomConfigs(Set<String> customConfigs)
      Parameters:
      customConfigs - configs to be set
    • getKeys

      public Set<String> getKeys()
      Returns:
      Set of secrets to be loaded
    • setKeys

      public void setKeys(Set<String> keys)
      Parameters:
      keys - keys to be set
    • isDefaultConfigEnabled

      public boolean isDefaultConfigEnabled()
      Whether to load the default config files (`application`, `application_${env}`, `[APPLICATION_NAME], `[APPLICATION_NAME]_${env}`). Default value: true.
      Returns:
      Whether to load the default config files.
      Since:
      6.1.0
    • setDefaultConfigEnabled

      public void setDefaultConfigEnabled(boolean defaultConfigEnabled)
      Parameters:
      defaultConfigEnabled - Whether to load the default config files.
      Since:
      6.1.0