oci_kms_verify

This resource provides the Verify resource in Oracle Cloud Infrastructure Kms service.

Verifies a digital signature that was generated by the Sign operation by using the public key of the same asymmetric key that was used to sign the data. If you want to validate the digital signature outside of the service, you can do so by using the public key of the asymmetric key. This operation is not supported for keys having protection mode EXTERNAL.

Example Usage

resource "oci_kms_verify" "test_verify" {
	#Required
  crypto_endpoint = var.verify_message_crypto_endpoint
	key_id = oci_kms_key.test_key.id
	key_version_id = oci_kms_key_version.test_key_version.id
	message = var.verify_message
	signature = var.verify_signature
	signing_algorithm = var.verify_signing_algorithm

	#Optional
	message_type = var.verify_message_type
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Verify * update - (Defaults to 20 minutes), when updating the Verify * delete - (Defaults to 20 minutes), when destroying the Verify

Import

Verify can be imported using the id, e.g.

$ terraform import oci_kms_verify.test_verify "id"