public class AwsSecretsManagerPropertySources extends Object
AwsSecretsManagerPropertySource
and determining
automatic contexts.Constructor and Description |
---|
AwsSecretsManagerPropertySources(AwsSecretsManagerProperties properties) |
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) |
public AwsSecretsManagerPropertySources(AwsSecretsManagerProperties properties)
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 © 2022 Pivotal Software, Inc.. All rights reserved.