in pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CryptoConf.scala [70:73]
private def makeConfWith[A, T](activePartResult: SettingsResult[A])(createConf: (A, Seq[PublicKey]) => T): SettingsResult[T] = for {
activePart <- activePartResult
alsoAccepted <- alsoAcceptedPublicKeys
} yield createConf(activePart, alsoAccepted)