
io.github.thenovaworks.spring.aws.secretsmanager.SecretsManagerPropertySource Maven / Gradle / Ivy
package io.github.thenovaworks.spring.aws.secretsmanager;
import org.springframework.core.env.EnumerablePropertySource;
public class SecretsManagerPropertySource extends EnumerablePropertySource {
public SecretsManagerPropertySource(String secretName, AwsSecretsManagerSupport source) {
super(secretName, source);
}
public String[] getPropertyNames() {
return source.keys(super.getName());
}
public Object getProperty(String name) {
return source.getValue(super.getName(), name);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy