Package org.apache.camel.main
Class AwsVaultConfigurationProperties
- java.lang.Object
-
- org.apache.camel.vault.VaultConfiguration
-
- org.apache.camel.vault.AwsVaultConfiguration
-
- org.apache.camel.main.AwsVaultConfigurationProperties
-
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.camel.spi.BootstrapCloseable
@Configurer(bootstrap=true) public class AwsVaultConfigurationProperties extends org.apache.camel.vault.AwsVaultConfiguration implements org.apache.camel.spi.BootstrapCloseableConfiguration for access to AWS Secret.
-
-
Constructor Summary
Constructors Constructor Description AwsVaultConfigurationProperties(MainConfigurationProperties parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()MainConfigurationPropertiesend()AwsVaultConfigurationPropertieswithAccessKey(String accessKey)The AWS access keyAwsVaultConfigurationPropertieswithDefaultCredentialsProvider(boolean defaultCredentialsProvider)Define if we want to use the AWS Default Credentials Provider or notAwsVaultConfigurationPropertieswithProfileCredentialsProvider(boolean profileCredentialsProvider)Define if we want to use the AWS Profile Credentials Provider or notAwsVaultConfigurationPropertieswithProfileName(String profileName)Define the profile name if we are using the Profile Credentials ProviderAwsVaultConfigurationPropertieswithRefreshEnabled(boolean refreshEnabled)Whether to automatically reload Camel upon secrets being updated in AWS.AwsVaultConfigurationPropertieswithRefreshPeriod(long refreshPeriod)The period (millis) between checking AWS for updated secrets.AwsVaultConfigurationPropertieswithRegion(String region)The AWS regionAwsVaultConfigurationPropertieswithSecretKey(String secretKey)The AWS secret keyAwsVaultConfigurationPropertieswithSecrets(String secrets)Specify the secret names (or pattern) to check for updates.-
Methods inherited from class org.apache.camel.vault.AwsVaultConfiguration
getAccessKey, getProfileName, getRefreshPeriod, getRegion, getSecretKey, getSecrets, isDefaultCredentialsProvider, isProfileCredentialsProvider, isRefreshEnabled, setAccessKey, setDefaultCredentialsProvider, setProfileCredentialsProvider, setProfileName, setRefreshEnabled, setRefreshPeriod, setRegion, setSecretKey, setSecrets
-
Methods inherited from class org.apache.camel.vault.VaultConfiguration
aws, azure, gcp, getAwsVaultConfiguration, getAzureVaultConfiguration, getGcpVaultConfiguration, getHashicorpVaultConfiguration, hashicorp, setAwsVaultConfiguration, setAzureVaultConfiguration, setGcpVaultConfiguration, setHashicorpVaultConfiguration
-
-
-
-
Constructor Detail
-
AwsVaultConfigurationProperties
public AwsVaultConfigurationProperties(MainConfigurationProperties parent)
-
-
Method Detail
-
end
public MainConfigurationProperties end()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
withAccessKey
public AwsVaultConfigurationProperties withAccessKey(String accessKey)
The AWS access key
-
withSecretKey
public AwsVaultConfigurationProperties withSecretKey(String secretKey)
The AWS secret key
-
withRegion
public AwsVaultConfigurationProperties withRegion(String region)
The AWS region
-
withDefaultCredentialsProvider
public AwsVaultConfigurationProperties withDefaultCredentialsProvider(boolean defaultCredentialsProvider)
Define if we want to use the AWS Default Credentials Provider or not
-
withProfileCredentialsProvider
public AwsVaultConfigurationProperties withProfileCredentialsProvider(boolean profileCredentialsProvider)
Define if we want to use the AWS Profile Credentials Provider or not
-
withProfileName
public AwsVaultConfigurationProperties withProfileName(String profileName)
Define the profile name if we are using the Profile Credentials Provider
-
withRefreshEnabled
public AwsVaultConfigurationProperties withRefreshEnabled(boolean refreshEnabled)
Whether to automatically reload Camel upon secrets being updated in AWS.
-
withRefreshPeriod
public AwsVaultConfigurationProperties withRefreshPeriod(long refreshPeriod)
The period (millis) between checking AWS for updated secrets.
-
withSecrets
public AwsVaultConfigurationProperties withSecrets(String secrets)
Specify the secret names (or pattern) to check for updates. Multiple secrets can be separated by comma.
-
-