public class KeyVaultEnvironmentPostProcessor extends Object implements org.springframework.boot.env.EnvironmentPostProcessor, org.springframework.core.Ordered
EnvironmentPostProcessor to add Key Vault secrets as a property source.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_ORDER |
| Constructor and Description |
|---|
KeyVaultEnvironmentPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment,
org.springframework.boot.SpringApplication application)
Post process the environment.
|
void |
setOrder(int order) |
public static final int DEFAULT_ORDER
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment,
org.springframework.boot.SpringApplication application)
Here we are going to process any key vault(s) and make them as available PropertySource(s). Note this supports both the singular key vault setup, as well as the multiple key vault setup.
postProcessEnvironment in interface org.springframework.boot.env.EnvironmentPostProcessorenvironment - the environment.application - the application.public int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void setOrder(int order)
Copyright © 2021 Microsoft Corporation. All rights reserved.