ciris.decoders.CirisConfigDecoders.scala Maven / Gradle / Ivy
package ciris.decoders
import ciris.{ConfigDecoder, Secret}
trait CirisConfigDecoders {
implicit def secretConfigDecoder[A, B](
implicit decoder: ConfigDecoder[A, B]
): ConfigDecoder[A, Secret[B]] = {
decoder
.map(Secret.apply)
.redactSensitive
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy