[Atlassian Connect] Hook to encrypt/decrypt shared_secret when using starter

Im using the spring boot atlassian connect starter / jpa starter. Is there a hook / standard approach when using this to encrypt/decrypt the shared_secret - as the starter does not encrypt the shared_secret by default. Any class/method names I should override? I’ll probably use KMS to perform this, just wondering the best place to hook into the flow.


@Chris4 no, I’m afraid a hook has not yet been added. We have ACSPRING-127 for tracking that feature.

As to a standard approach, for Spring Data JPA, there seems to be a common solution using AttributeConverter and Cipher. A search should give you some inspiration.

For other Spring Data implementations, an encryption wrapper for AtlassianHostRepository may be needed.d