oci_identity_domains_user_db_credential

This resource provides the User Db Credential resource in Oracle Cloud Infrastructure Identity Domains service.

Create a user's database (DB) credentials.

Example Usage

resource "oci_identity_domains_user_db_credential" "test_user_db_credential" {
    #Required
    db_password = var.user_db_credential_db_password
    idcs_endpoint = data.oci_identity_domain.test_domain.url
    schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:UserDbCredentials"]

    #Optional
    attribute_sets = []
    attributes = ""
    authorization = var.user_db_credential_authorization
    description = var.user_db_credential_description
    expires_on = var.user_db_credential_expires_on
    id = var.user_db_credential_id
    ocid = var.user_db_credential_ocid
    resource_type_schema_version = var.user_db_credential_resource_type_schema_version
    status = var.user_db_credential_status
    tags {
        #Required
        key = var.user_db_credential_tags_key
        value = var.user_db_credential_tags_value
    }
    urnietfparamsscimschemasoracleidcsextensionself_change_user {

        #Optional
        allow_self_change = var.user_db_credential_urnietfparamsscimschemasoracleidcsextensionself_change_user_allow_self_change
    }
    user {
        #Required
        value = oci_identity_domains_user.test_user.id

        #Optional
        ocid = oci_identity_domains_user.test_user.ocid
    }
}

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 User Db Credential * update - (Defaults to 20 minutes), when updating the User Db Credential * delete - (Defaults to 20 minutes), when destroying the User Db Credential

Import

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

$ terraform import oci_identity_domains_user_db_credential.test_user_db_credential "idcsEndpoint/{idcsEndpoint}/userDbCredentials/{userDbCredentialId}"