public class AwsSecretsManagerPropertySource extends EnumerablePropertySource<com.amazonaws.services.secretsmanager.AWSSecretsManager>
PropertySource.StubPropertySourcelogger, name, source| Constructor and Description |
|---|
AwsSecretsManagerPropertySource(String context,
com.amazonaws.services.secretsmanager.AWSSecretsManager smClient) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getProperty(String name) |
String[] |
getPropertyNames() |
void |
init()
Loads properties from the Secrets Manager secret.
|
containsPropertypublic AwsSecretsManagerPropertySource(String context, com.amazonaws.services.secretsmanager.AWSSecretsManager smClient)
public void init()
com.amazonaws.services.secretsmanager.model.ResourceNotFoundException - if specified secret does not exist in the
database.public String[] getPropertyNames()
getPropertyNames in class EnumerablePropertySource<com.amazonaws.services.secretsmanager.AWSSecretsManager>public Object getProperty(String name)
getProperty in class PropertySource<com.amazonaws.services.secretsmanager.AWSSecretsManager>Copyright © 2021 Pivotal Software, Inc.. All rights reserved.