Transit Functions
object 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(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(backend: String, context: String? = null, key: String, keyVersion: Int? = null, namespace: String? = null, plaintext: String): GetEncryptResult
Link copied to clipboard
This is a data source which can be used to generate a signature using a Vault Transit key.
suspend fun getSign(batchInputs: List<Map<String, String>>? = null, batchResults: List<Map<String, String>>? = null, context: String? = null, hashAlgorithm: String? = null, input: String? = null, keyVersion: Int? = null, marshalingAlgorithm: String? = null, name: String, namespace: String? = null, path: String, prehashed: Boolean? = null, reference: String? = null, saltLength: String? = null, signature: String? = null, signatureAlgorithm: String? = null, signatureContext: String? = null): GetSignResult
Link copied to clipboard
This is a data source which can be used to verify a signature using a Vault Transit key.
suspend fun getVerify(batchInputs: List<Map<String, String>>? = null, batchResults: List<Map<String, String>>? = null, cmac: String? = null, context: String? = null, hashAlgorithm: String? = null, hmac: String? = null, input: String? = null, marshalingAlgorithm: String? = null, name: String, namespace: String? = null, path: String, prehashed: Boolean? = null, reference: String? = null, saltLength: String? = null, signature: String? = null, signatureAlgorithm: String? = null, signatureContext: String? = null, valid: Boolean? = null): GetVerifyResult