public class AwsSecretsManagerPropertySource
extends org.springframework.core.env.EnumerablePropertySource<com.amazonaws.services.secretsmanager.AWSSecretsManager>
| 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.
|
public 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 org.springframework.core.env.EnumerablePropertySource<com.amazonaws.services.secretsmanager.AWSSecretsManager>Copyright © 2021 Pivotal Software, Inc.. All rights reserved.