public class AwsSecretsManagerPropertySources extends Object
Constructor and Description |
---|
AwsSecretsManagerPropertySources(AwsSecretsManagerProperties properties,
Log log) |
Modifier and Type | Method and Description |
---|---|
AwsSecretsManagerPropertySource |
createPropertySource(String context,
boolean optional,
com.amazonaws.services.secretsmanager.AWSSecretsManager client)
Creates property source for given context.
|
List<String> |
getAutomaticContexts(List<String> profiles) |
protected String |
getContext(String prefix,
String context) |
public AwsSecretsManagerPropertySources(AwsSecretsManagerProperties properties, Log log)
public AwsSecretsManagerPropertySource createPropertySource(String context, boolean optional, com.amazonaws.services.secretsmanager.AWSSecretsManager client)
context
- property source context equivalent to the secret nameoptional
- if creating context should fail with exception if secret cannot be
loadedclient
- Secret Manager clientCopyright © 2021 Pivotal Software, Inc.. All rights reserved.