Class SecretsManagerConfigurationProperties

java.lang.Object
io.micronaut.aws.secretsmanager.SecretsManagerConfigurationProperties
All Implemented Interfaces:
SecretsManagerConfiguration, io.micronaut.core.util.Toggleable

@ConfigurationProperties("aws.secretsmanager") public class SecretsManagerConfigurationProperties extends Object implements SecretsManagerConfiguration
ConfigurationProperties implementation of SecretsManagerConfiguration.
Since:
2.8.0
Author:
Sergio del Amo
  • Field Details

  • Constructor Details

    • SecretsManagerConfigurationProperties

      public SecretsManagerConfigurationProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface io.micronaut.core.util.Toggleable
      Returns:
      Whether the AWS Secrets Manager configuration is enabled
    • setEnabled

      public void setEnabled(boolean enabled)
      Default value (true).
      Parameters:
      enabled - Enable or disable the AWS Secrets Manager configuration.
    • getSecrets

      Description copied from interface: SecretsManagerConfiguration
      Provide a list of secret configurations that allows for flexibility in secret key naming. This is provided by an option to define a key group prefix for any secret name.
      Specified by:
      getSecrets in interface SecretsManagerConfiguration
      Returns:
      the AWS Secrets Manager secrets configuration.