Spring / Spring CredHub Interview questions
What is the difference between spring-credhub-core and spring-credhub-starter?
spring-credhub-core is the plain Java library: the CredHubOperations/CredHubTemplate classes, request/response types, and credential-type classes, with no dependency on Spring Boot's auto-configuration machinery.
spring-credhub-starter depends on spring-credhub-core and adds the Spring Boot auto-configuration that turns spring.credhub.* properties into a ready-to-inject CredHubOperations bean, choosing mutual TLS or OAuth2 automatically based on what's configured.
Almost every Spring Boot application should depend on the starter and get the core module transitively; depending on spring-credhub-core directly only makes sense for non-Boot applications, or ones that want to assemble their own CredHubTemplate and authentication by hand instead of relying on auto-configuration.
More Related questions...