getEncryptedValue

Encrypts or Decrypts a value using a Key Vault Key.

Return

A collection of values returned by getEncryptedValue.

Parameters

argument

A collection of arguments for invoking getEncryptedValue.


suspend fun getEncryptedValue(algorithm: String, encryptedData: String? = null, keyVaultKeyId: String, plainTextValue: String? = null): GetEncryptedValueResult

Return

A collection of values returned by getEncryptedValue.

Parameters

algorithm

The Algorithm which should be used to Decrypt/Encrypt this Value. Possible values are RSA1_5, RSA-OAEP and RSA-OAEP-256.

encryptedData

The Base64 URL Encoded Encrypted Data which should be decrypted into plain_text_value.

keyVaultKeyId

The ID of the Key Vault Key which should be used to Decrypt/Encrypt this Value.

plainTextValue

The plain-text value which should be Encrypted into encrypted_data.

Note: One of either encrypted_data or plain_text_value must be specified and is used to populate the encrypted/decrypted value for the other field.

See also


Return

A collection of values returned by getEncryptedValue.

Parameters

argument

Builder for com.pulumi.azure.keyvault.kotlin.inputs.GetEncryptedValuePlainArgs.

See also