public class HashiCorpVaultConfiguration
extends org.springframework.vault.config.EnvironmentVaultConfiguration
| Modifier and Type | Class and Description |
|---|---|
static class |
HashiCorpVaultConfiguration.VaultConfigurationKey |
| Modifier and Type | Field and Description |
|---|---|
private org.springframework.vault.support.ClientOptions |
clientOptions |
private static String |
HTTPS |
private org.springframework.vault.support.SslConfiguration |
sslConfiguration |
| Constructor and Description |
|---|
HashiCorpVaultConfiguration(org.springframework.core.env.PropertySource<?>... propertySources)
Creates a HashiCorpVaultConfiguration from property sources
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.vault.support.ClientOptions |
clientOptions() |
static org.springframework.core.env.PropertySource<?> |
createPropertiesFileSource(String filename)
A convenience method to create a PropertySource from a file on disk.
|
private org.springframework.vault.support.ClientOptions |
getClientOptions() |
private static Duration |
getDuration(String formattedDuration) |
protected org.springframework.vault.client.RestTemplateFactory |
getRestTemplateFactory() |
org.springframework.vault.support.SslConfiguration |
sslConfiguration() |
appIdAuthentication, appRoleAuthentication, awsEc2Authentication, azureMsiAuthentication, clientAuthentication, cubbyholeAuthentication, getAppIdUserIdMechanism, kubeAuthentication, restOperations, setApplicationContext, tokenAuthentication, vaultEndpointclientHttpRequestFactoryWrapper, getBeanFactory, getEnvironment, getVaultThreadPoolTaskScheduler, restTemplateBuilder, restTemplateFactory, secretLeaseContainer, sessionManager, threadPoolTaskScheduler, vaultEndpointProvider, vaultTemplateprivate static final String HTTPS
private final org.springframework.vault.support.SslConfiguration sslConfiguration
private final org.springframework.vault.support.ClientOptions clientOptions
public HashiCorpVaultConfiguration(org.springframework.core.env.PropertySource<?>... propertySources)
propertySources - A series of Spring PropertySource objectsHashiCorpVaultConfigurationException - If the authentication properties file could not be readpublic static org.springframework.core.env.PropertySource<?> createPropertiesFileSource(String filename) throws IOException
filename - The properties filename.IOException - If the file could not be readpublic org.springframework.vault.support.ClientOptions clientOptions()
clientOptions in class org.springframework.vault.config.AbstractVaultConfigurationprotected org.springframework.vault.client.RestTemplateFactory getRestTemplateFactory()
getRestTemplateFactory in class org.springframework.vault.config.AbstractVaultConfigurationpublic org.springframework.vault.support.SslConfiguration sslConfiguration()
sslConfiguration in class org.springframework.vault.config.EnvironmentVaultConfigurationprivate org.springframework.vault.support.ClientOptions getClientOptions()
Copyright © 2022 Apache NiFi Project. All rights reserved.