oci_identity_domains_oauth_client_certificate

This resource provides the O Auth Client Certificate resource in Oracle Cloud Infrastructure Identity Domains service.

Create an OAuth Client Certificate

Example Usage

resource "oci_identity_domains_oauth_client_certificate" "test_oauth_client_certificate" {
	#Required
	certificate_alias = var.oauth_client_certificate_certificate_alias
	idcs_endpoint = data.oci_identity_domain.test_domain.url
	schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:OAuthClientCertificate"]
	x509base64certificate = var.oauth_client_certificate_x509base64certificate

	#Optional
	authorization = var.oauth_client_certificate_authorization
	external_id = "externalId"
	resource_type_schema_version = var.oauth_client_certificate_resource_type_schema_version
}

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 O Auth Client Certificate * update - (Defaults to 20 minutes), when updating the O Auth Client Certificate * delete - (Defaults to 20 minutes), when destroying the O Auth Client Certificate

Import

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

$ terraform import oci_identity_domains_oauth_client_certificate.test_oauth_client_certificate "idcsEndpoint/{idcsEndpoint}/oAuthClientCertificates/{oAuthClientCertificateId}"