You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And BootstrapRegistryInitializer is before spring context initialized.
So there is not clean solution using spring bean to create SecretsManagers client, so we may end up with one plain java and another Spring class for SecretsManagers
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
SpringBootTest doesn't load spring spring.config.import mentioned here:
https://docs.awspring.io/spring-cloud-aws/docs/3.0.2/reference/html/index.html#customizing-secretsmanagerclient
And BootstrapRegistryInitializer is before spring context initialized.
So there is not clean solution using spring bean to create SecretsManagers client, so we may end up with one plain java and another Spring class for SecretsManagers
Any better idea?
Thanks,
Ali
Beta Was this translation helpful? Give feedback.
All reactions