public class SecretsManagerPropertySources extends Object
| Constructor and Description |
|---|
SecretsManagerPropertySources() |
| Modifier and Type | Method and Description |
|---|---|
SecretsManagerPropertySource |
createPropertySource(String context,
boolean optional,
software.amazon.awssdk.services.secretsmanager.SecretsManagerClient client)
Creates property source for given context.
|
@Nullable public SecretsManagerPropertySource createPropertySource(String context, boolean optional, software.amazon.awssdk.services.secretsmanager.SecretsManagerClient 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.