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 TypeMethodDescriptionlongbooleanbooleanbooleanvoidsetAccessKey(String accessKey) The AWS access keyvoidsetDefaultCredentialsProvider(boolean defaultCredentialsProvider) Define if we want to use the AWS Default Credentials Provider or notvoidsetProfileCredentialsProvider(boolean profileCredentialsProvider) Define if we want to use the AWS Profile Credentials Provider or notvoidsetProfileName(String profileName) Define the profile name to use if Profile Credentials Provider is selectedvoidsetRefreshEnabled(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 -
isProfileCredentialsProvider
public boolean isProfileCredentialsProvider() -
setProfileCredentialsProvider
public void setProfileCredentialsProvider(boolean profileCredentialsProvider) Define if we want to use the AWS Profile Credentials Provider or not -
getProfileName
-
setProfileName
Define the profile name to use if Profile Credentials Provider is selected -
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.
-