diff --git a/src/main/java/com/cyberark/conjur/springboot/processor/SpringBootConjurAutoConfiguration.java b/src/main/java/com/cyberark/conjur/springboot/processor/SpringBootConjurAutoConfiguration.java index 87d4ee9d..31edb056 100644 --- a/src/main/java/com/cyberark/conjur/springboot/processor/SpringBootConjurAutoConfiguration.java +++ b/src/main/java/com/cyberark/conjur/springboot/processor/SpringBootConjurAutoConfiguration.java @@ -24,6 +24,12 @@ ConjurValueClassProcessor conjurSecretValueClassProcessor() { ConjurRetrieveSecretService conjurRetrieveSecretService() { return new ConjurRetrieveSecretService(); } + + @ConditionalOnMissingBean + @Bean + SecretsApi secretsApi() { + return new SecretsApi(); + } @ConditionalOnMissingBean @Bean