Class EnvironmentVariablesSecretsProvider
java.lang.Object
com.evolveum.midpoint.common.secrets.SecretsProviderImpl<EnvironmentVariablesSecretsProviderType>
com.evolveum.midpoint.common.secrets.EnvironmentVariablesSecretsProvider
- All Implemented Interfaces:
- SecretsProvider<EnvironmentVariablesSecretsProviderType>
public class EnvironmentVariablesSecretsProvider
extends SecretsProviderImpl<EnvironmentVariablesSecretsProviderType>
Custom implementation of 
SecretsProvider that reads secrets from environment variables.
 Note: This implementation doesn't read secrets from system properties (e.g. -Dkey=value parameters).- 
Field SummaryFields inherited from interface com.evolveum.midpoint.prism.crypto.SecretsProviderEMPTY_DEPENDENCIES
- 
Constructor SummaryConstructorsConstructorDescription
- 
Method SummaryModifier and TypeMethodDescriptionprotected <ST> STresolveSecret(@NotNull String key, @NotNull Class<ST> type) Should return secret value for given key or null if the secret does not exist.Methods inherited from class com.evolveum.midpoint.common.secrets.SecretsProviderImplgetConfiguration, getIdentifier, getSecretBinary, getSecretString, mapValueMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.prism.crypto.SecretsProviderdestroy, getDependencies, initialize
- 
Constructor Details- 
EnvironmentVariablesSecretsProvider
 
- 
- 
Method Details- 
resolveSecretDescription copied from class:SecretsProviderImplShould return secret value for given key or null if the secret does not exist.- Specified by:
- resolveSecretin class- SecretsProviderImpl<EnvironmentVariablesSecretsProviderType>
 
 
-