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.BootstrapCloseable
Configuration 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 void
close()
MainConfigurationProperties
end()
AwsVaultConfigurationProperties
withAccessKey(String accessKey)
The AWS access keyAwsVaultConfigurationProperties
withDefaultCredentialsProvider(boolean defaultCredentialsProvider)
Define if we want to use the AWS Default Credentials Provider or notAwsVaultConfigurationProperties
withRefreshEnabled(boolean refreshEnabled)
Whether to automatically reload Camel upon secrets being updated in AWS.AwsVaultConfigurationProperties
withRefreshPeriod(long refreshPeriod)
The period (millis) between checking AWS for updated secrets.AwsVaultConfigurationProperties
withRegion(String region)
The AWS regionAwsVaultConfigurationProperties
withSecretKey(String secretKey)
The AWS secret keyAwsVaultConfigurationProperties
withSecrets(String secrets)
Specify the secret names (or pattern) to check for updates.-
Methods inherited from class org.apache.camel.vault.AwsVaultConfiguration
getAccessKey, getRefreshPeriod, getRegion, getSecretKey, getSecrets, isDefaultCredentialsProvider, isRefreshEnabled, setAccessKey, setDefaultCredentialsProvider, 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:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
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.
-
-