Integrating AWS Secrets Manager with your configuration setup can indeed be a bit tricky, but you...
Hey all. I'm writing a service that needs some config values and until now all of them are available the in process.env so I've happily been using the
I've got a value I now need to fetch from AWS secret manager and I'm struggling to think of a nice way to model that. I know I need to effectfully build my case class so my first stab was to define a
I feel like this might not be the best way to go about it though, am I missing some nice utilty somewhere?
Config module to build a Data.TaggedClass instance of all the values.I've got a value I now need to fetch from AWS secret manager and I'm struggling to think of a nice way to model that. I know I need to effectfully build my case class so my first stab was to define a
Context.Tag for it and then use Layer.effect to do all the reading from process.env and fetch from secretmanager.I feel like this might not be the best way to go about it though, am I missing some nice utilty somewhere?
