Package org.apache.camel.vault
Class HashicorpVaultConfiguration
java.lang.Object
org.apache.camel.vault.VaultConfiguration
org.apache.camel.vault.HashicorpVaultConfiguration
Configuration for access to Hashicorp Vault Secrets.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHost()getPort()longgetToken()booleanisCloud()booleanvoidsetCloud(boolean cloud) Determine if the Hashicorp Vault is deployed on Hashicorp Cloud or notvoidHost to access hashicorp vaultvoidsetNamespace(String namespace) If the Hashicorp Vault instance is deployed on Hashicorp Cloud, this field will determine the namespacevoidPort to access hashicorp vaultvoidsetRefreshEnabled(boolean refreshEnabled) Whether to automatically reload Camel upon secrets being updated in Hashicorp Vault.voidsetRefreshPeriod(long refreshPeriod) The period (millis) between checking Hashicorp Vault for updated secrets.voidScheme to access hashicorp vaultvoidsetSecrets(String secrets) Specify the secret names (or pattern) to check for updates.voidToken to access hashicorp vaultMethods inherited from class org.apache.camel.vault.VaultConfiguration
aws, azure, cyberark, gcp, getAwsVaultConfiguration, getAzureVaultConfiguration, getCyberArkVaultConfiguration, getGcpVaultConfiguration, getHashicorpVaultConfiguration, getIBMSecretsManagerVaultConfiguration, getKubernetesConfigMapVaultConfiguration, getKubernetesVaultConfiguration, getSpringCloudConfigConfiguration, hashicorp, ibmSecretsManager, kubernetes, kubernetesConfigmaps, setAwsVaultConfiguration, setAzureVaultConfiguration, setCyberArkVaultConfiguration, setGcpVaultConfiguration, setHashicorpVaultConfiguration, setIBMSecretsManagerVaultConfiguration, setKubernetesConfigMapVaultConfiguration, setKubernetesVaultConfiguration, setSpringCloudConfigConfiguration, springConfig
-
Constructor Details
-
HashicorpVaultConfiguration
public HashicorpVaultConfiguration()
-
-
Method Details
-
getToken
-
setToken
Token to access hashicorp vault -
getHost
-
setHost
Host to access hashicorp vault -
getPort
-
setPort
Port to access hashicorp vault -
getScheme
-
setScheme
Scheme to access hashicorp vault -
isCloud
public boolean isCloud() -
setCloud
public void setCloud(boolean cloud) Determine if the Hashicorp Vault is deployed on Hashicorp Cloud or not -
getNamespace
-
setNamespace
If the Hashicorp Vault instance is deployed on Hashicorp Cloud, this field will determine the namespace -
isRefreshEnabled
public boolean isRefreshEnabled() -
setRefreshEnabled
public void setRefreshEnabled(boolean refreshEnabled) Whether to automatically reload Camel upon secrets being updated in Hashicorp Vault. -
getRefreshPeriod
public long getRefreshPeriod() -
setRefreshPeriod
public void setRefreshPeriod(long refreshPeriod) The period (millis) between checking Hashicorp Vault for updated secrets. -
getSecrets
-
setSecrets
Specify the secret names (or pattern) to check for updates. Multiple secrets can be separated by comma.
-