TransitFunctions

Functions

Link copied to clipboard

This is a data source which can be used to decrypt ciphertext using a Vault Transit key.

suspend fun getDecrypt(argument: suspend GetDecryptPlainArgsBuilder.() -> Unit): GetDecryptResult
suspend fun getDecrypt(backend: String, ciphertext: String, context: String? = null, key: String, namespace: String? = null): GetDecryptResult
Link copied to clipboard

This is a data source which can be used to encrypt plaintext using a Vault Transit key.

suspend fun getEncrypt(argument: suspend GetEncryptPlainArgsBuilder.() -> Unit): GetEncryptResult
suspend fun getEncrypt(backend: String, context: String? = null, key: String, keyVersion: Int? = null, namespace: String? = null, plaintext: String): GetEncryptResult