Package org.apache.camel.vault
Class AwsVaultConfiguration
- java.lang.Object
-
- org.apache.camel.vault.VaultConfiguration
-
- org.apache.camel.vault.AwsVaultConfiguration
-
public class AwsVaultConfiguration extends VaultConfiguration
Configuration for access to AWS Secret.
-
-
Constructor Summary
Constructors Constructor Description AwsVaultConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccessKey()
String
getProfileName()
long
getRefreshPeriod()
String
getRegion()
String
getSecretKey()
String
getSecrets()
boolean
isDefaultCredentialsProvider()
boolean
isProfileCredentialsProvider()
boolean
isRefreshEnabled()
void
setAccessKey(String accessKey)
The AWS access keyvoid
setDefaultCredentialsProvider(boolean defaultCredentialsProvider)
Define if we want to use the AWS Default Credentials Provider or notvoid
setProfileCredentialsProvider(boolean profileCredentialsProvider)
Define if we want to use the AWS Profile Credentials Provider or notvoid
setProfileName(String profileName)
Define the profile name to use if Profile Credentials Provider is selectedvoid
setRefreshEnabled(boolean refreshEnabled)
Whether to automatically reload Camel upon secrets being updated in AWS.void
setRefreshPeriod(long refreshPeriod)
The period (millis) between checking AWS for updated secrets.void
setRegion(String region)
The AWS regionvoid
setSecretKey(String secretKey)
The AWS secret keyvoid
setSecrets(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
-
-
-
-
Method Detail
-
getAccessKey
public String getAccessKey()
-
setAccessKey
public void setAccessKey(String accessKey)
The AWS access key
-
getSecretKey
public String getSecretKey()
-
setSecretKey
public void setSecretKey(String secretKey)
The AWS secret key
-
getRegion
public String getRegion()
-
setRegion
public void setRegion(String region)
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
public String getProfileName()
-
setProfileName
public void setProfileName(String profileName)
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
public String getSecrets()
-
setSecrets
public void setSecrets(String secrets)
Specify the secret names (or pattern) to check for updates. Multiple secrets can be separated by comma.
-
-