Encrypted

data class Encrypted(value: EncryptedValue) : EntryValue

Should be used for secrets.

Constructors

Link copied to clipboard
constructor(value: EncryptedValue)

Properties

Link copied to clipboard
open override val content: String

Returns underlying value, decrypting if required.

Functions

Link copied to clipboard
open override fun isEmpty(): Boolean

Checks whether content is empty without exposing EncryptedValue.

Link copied to clipboard
inline fun map(block: (String) -> String): EntryValue

Replaces wrapped value with result of the block.