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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetKeys()
boolean
Whether to load the default config files (`application`, `application_${env}`, `[APPLICATION_NAME], `[APPLICATION_NAME]_${env}`).void
setCustomConfigs
(Set<String> customConfigs) void
setDefaultConfigEnabled
(boolean defaultConfigEnabled) void
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
SecretManagerConfigurationProperties
public SecretManagerConfigurationProperties()
-
-
Method Details
-
getCustomConfigs
- Returns:
- Custom config files to be included as property sources.
-
setCustomConfigs
- Parameters:
customConfigs
- configs to be set
-
getKeys
- Returns:
- Set of secrets to be loaded
-
setKeys
- 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
-