api

http4k / org.http4k.cloudnative.env / Secret / <init>

<init>

Secret(value: String)Secret(input: ByteArray)

A secret is a value which tries very hard not to expose itself as a string, by storing it’s value in a byte array. You can “use” the value only once, after which the value is destroyed