oci_identity_domains_oauth_partner_certificate

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

Create an OAuth Partner Certificate

Example Usage

resource "oci_identity_domains_oauth_partner_certificate" "test_oauth_partner_certificate" {
    #Required
    certificate_alias = var.oauth_partner_certificate_certificate_alias
    idcs_endpoint = data.oci_identity_domain.test_domain.url
    schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:OAuthPartnerCertificate"]

    #Optional
    authorization = var.oauth_partner_certificate_authorization
    external_id = "externalId"
    key_store_id = oci_database_key_store.test_key_store.id
    key_store_name = oci_database_key_store.test_key_store.name
    key_store_password = var.oauth_partner_certificate_key_store_password
    map = var.oauth_partner_certificate_map
    ocid = var.oauth_partner_certificate_ocid
    resource_type_schema_version = var.oauth_partner_certificate_resource_type_schema_version
    tags {
        #Required
        key = var.oauth_partner_certificate_tags_key
        value = var.oauth_partner_certificate_tags_value
    }
    x509base64certificate = var.oauth_partner_certificate_x509base64certificate
}

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

Import

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

$ terraform import oci_identity_domains_oauth_partner_certificate.test_oauth_partner_certificate "idcsEndpoint/{idcsEndpoint}/oAuthPartnerCertificates/{oAuthPartnerCertificateId}"