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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
end()
withAccessKey
(String accessKey) The AWS access keywithDefaultCredentialsProvider
(boolean defaultCredentialsProvider) Define if we want to use the AWS Default Credentials Provider or notwithProfileCredentialsProvider
(boolean profileCredentialsProvider) Define if we want to use the AWS Profile Credentials Provider or notwithProfileName
(String profileName) Define the profile name if we are using the Profile Credentials ProviderwithRefreshEnabled
(boolean refreshEnabled) Whether to automatically reload Camel upon secrets being updated in AWS.withRefreshPeriod
(long refreshPeriod) The period (millis) between checking AWS for updated secrets.withRegion
(String region) The AWS regionwithSecretKey
(String secretKey) The AWS secret keywithSecrets
(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 Details
-
AwsVaultConfigurationProperties
-
-
Method Details
-
end
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
withAccessKey
The AWS access key -
withSecretKey
The AWS secret key -
withRegion
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
Define the profile name if we are using the Profile Credentials Provider -
withRefreshEnabled
Whether to automatically reload Camel upon secrets being updated in AWS. -
withRefreshPeriod
The period (millis) between checking AWS for updated secrets. -
withSecrets
Specify the secret names (or pattern) to check for updates. Multiple secrets can be separated by comma.
-