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 notAwsVaultConfigurationPropertieswithRegion(String region)The AWS regionAwsVaultConfigurationPropertieswithSecretKey(String secretKey)The AWS secret key-
Methods inherited from class org.apache.camel.vault.AwsVaultConfiguration
getAccessKey, getRegion, getSecretKey, isDefaultCredentialsProvider, setAccessKey, setDefaultCredentialsProvider, setRegion, setSecretKey
-
-
-
-
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
-
-