In a Feign configuration class that is not annotated with@Configuration, the @Value annotated fields that use GCP secret manager can't convert from google ByteString to String

As a work around explained in the answer of this question by Omer Arshad. We need to add manually the converter beacuse it uses the default conversion service.

It would be great to use the converter provided by the google secret manager

Comment From: OlgaMaciaszek

Hello, @danielalejandrin thanks for submitting this. spring-cloud-gcp is the project where GCP integrations for Spring Cloud are being developed. I don't think we would like to include GCP dependencies directly in SC OpenFeign. I would suggest opening this issue in the https://github.com/GoogleCloudPlatform/spring-cloud-gcp repo.