Data Source: oci_kms_encrypted_data

The oci_kms_encrypted_data data source provides details about a specific EncryptedData

Encrypts data using the given EncryptDataDetails resource. Plaintext included in the example request is a base64-encoded value of a UTF-8 string.

Example Usage

data "oci_kms_encrypted_data" "test_encrypted_data" {
	#Required
	crypto_endpoint = var.encrypted_data_crypto_endpoint
	key_id = oci_kms_key.test_key.id
	plaintext = var.encrypted_data_plaintext

	#Optional
	associated_data = var.encrypted_data_associated_data
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: