Package org.apache.camel.vault
Class AwsVaultConfiguration
java.lang.Object
org.apache.camel.vault.VaultConfiguration
org.apache.camel.vault.AwsVaultConfiguration
Configuration for access to AWS Secret.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongbooleanbooleanvoidsetAccessKey(String accessKey) The AWS access keyvoidsetDefaultCredentialsProvider(boolean defaultCredentialsProvider) Define if we want to use the AWS Default Credentials Provider or notvoidsetRefreshEnabled(boolean refreshEnabled) Whether to automatically reload Camel upon secrets being updated in AWS.voidsetRefreshPeriod(long refreshPeriod) The period (millis) between checking AWS for updated secrets.voidThe AWS regionvoidsetSecretKey(String secretKey) The AWS secret keyvoidsetSecrets(String secrets) Specify the secret names (or pattern) to check for updates.Methods inherited from class org.apache.camel.vault.VaultConfiguration
aws, azure, gcp, getAwsVaultConfiguration, getAzureVaultConfiguration, getGcpVaultConfiguration, getHashicorpVaultConfiguration, hashicorp, setAwsVaultConfiguration, setAzureVaultConfiguration, setGcpVaultConfiguration, setHashicorpVaultConfiguration
-
Constructor Details
-
AwsVaultConfiguration
public AwsVaultConfiguration()
-
-
Method Details
-
getAccessKey
-
setAccessKey
The AWS access key -
getSecretKey
-
setSecretKey
The AWS secret key -
getRegion
-
setRegion
The AWS region -
isDefaultCredentialsProvider
public boolean isDefaultCredentialsProvider() -
setDefaultCredentialsProvider
public void setDefaultCredentialsProvider(boolean defaultCredentialsProvider) Define if we want to use the AWS Default Credentials Provider or not -
isRefreshEnabled
public boolean isRefreshEnabled() -
setRefreshEnabled
public void setRefreshEnabled(boolean refreshEnabled) Whether to automatically reload Camel upon secrets being updated in AWS. -
getRefreshPeriod
public long getRefreshPeriod() -
setRefreshPeriod
public void setRefreshPeriod(long refreshPeriod) The period (millis) between checking AWS for updated secrets. -
getSecrets
-
setSecrets
Specify the secret names (or pattern) to check for updates. Multiple secrets can be separated by comma.
-