public class AwsSecretsManagerPropertySourceLocator extends Object implements org.springframework.cloud.bootstrap.config.PropertySourceLocator
CompositePropertySource with various
AwsSecretsManagerPropertySource instances based on active profiles, application
name and default context permutations. Mostly copied from Spring Cloud Consul's config
support.
Note: this class is used only by legacy Spring Cloud Bootstrap phase based config
loading.| Constructor and Description |
|---|
AwsSecretsManagerPropertySourceLocator(com.amazonaws.services.secretsmanager.AWSSecretsManager smClient,
AwsSecretsManagerProperties properties) |
AwsSecretsManagerPropertySourceLocator(String propertySourceName,
com.amazonaws.services.secretsmanager.AWSSecretsManager smClient,
AwsSecretsManagerProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getContexts() |
org.springframework.core.env.PropertySource<?> |
locate(org.springframework.core.env.Environment environment) |
public AwsSecretsManagerPropertySourceLocator(String propertySourceName, com.amazonaws.services.secretsmanager.AWSSecretsManager smClient, AwsSecretsManagerProperties properties)
public AwsSecretsManagerPropertySourceLocator(com.amazonaws.services.secretsmanager.AWSSecretsManager smClient,
AwsSecretsManagerProperties properties)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.