Skip to content

Commit

Permalink
CAMEL-21025 - Camel-AWS-Secrets-Manager: Give the ability of refreshi…
Browse files Browse the repository at this point in the history
…ng the context on Secrets update by using Eventbridge service instead of pure Cloudtrail - Spring Boot support

Signed-off-by: Andrea Cosentino <[email protected]>
  • Loading branch information
oscerd committed Jul 29, 2024
1 parent fca6d1c commit c58ff06
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"camel.vault.aws.secretKey=mySecretKey", "camel.vault.aws.region=myRegion",
"camel.vault.aws.defaultCredentialsProvider=false", "camel.vault.aws.refreshPeriod=60000",
"camel.vault.aws.refreshEnabled=false", "camel.vault.aws.secrets=supersecret",
"camel.vault.aws.profile-credentials-provider=true", "camel.vault.aws.profile-name=test" })
"camel.vault.aws.profile-credentials-provider=true", "camel.vault.aws.profile-name=test", "camel.vault.aws.use-sqs-notification=true", "camel.vault.aws.sqs-queue-url=http://sqs-2" })
public class AwsVaultConfigurationTest {

@Autowired
Expand All @@ -49,5 +49,7 @@ public void testAwsVault() throws Exception {
Assertions.assertEquals("supersecret", camelContext.getVaultConfiguration().aws().getSecrets());
Assertions.assertEquals("test", camelContext.getVaultConfiguration().aws().getProfileName());
Assertions.assertEquals(true, camelContext.getVaultConfiguration().aws().isProfileCredentialsProvider());
Assertions.assertEquals(true, camelContext.getVaultConfiguration().aws().isUseSqsNotification());
Assertions.assertEquals("http://sqs-2", camelContext.getVaultConfiguration().aws().getSqsQueueUrl());
}
}

0 comments on commit c58ff06

Please sign in to comment.