oci_identity_domains_my_customer_secret_key

This resource provides the My Customer Secret Key resource in Oracle Cloud Infrastructure Identity Domains service.

Add a user's own customer secret key.

Example Usage

resource "oci_identity_domains_my_customer_secret_key" "test_my_customer_secret_key" {
    #Required
    idcs_endpoint = data.oci_identity_domain.test_domain.url
    schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:customerSecretKey"]

    #Optional
    authorization = var.my_customer_secret_key_authorization
    description = var.my_customer_secret_key_description
    display_name = var.my_customer_secret_key_display_name
    expires_on = var.my_customer_secret_key_expires_on
    id = var.my_customer_secret_key_id
    ocid = var.my_customer_secret_key_ocid
    resource_type_schema_version = var.my_customer_secret_key_resource_type_schema_version
    status = var.my_customer_secret_key_status
    tags {
        #Required
        key = var.my_customer_secret_key_tags_key
        value = var.my_customer_secret_key_tags_value
    }
    user {

        #Optional
        ocid = var.my_customer_secret_key_user_ocid
        value = var.my_customer_secret_key_user_value
    }
}

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 My Customer Secret Key * update - (Defaults to 20 minutes), when updating the My Customer Secret Key * delete - (Defaults to 20 minutes), when destroying the My Customer Secret Key

Import

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

$ terraform import oci_identity_domains_my_customer_secret_key.test_my_customer_secret_key "idcsEndpoint/{idcsEndpoint}/myCustomerSecretKeys/{myCustomerSecretKeyId}"