» oci_identity_authentication_policy

This resource provides the Authentication Policy resource in Oracle Cloud Infrastructure Identity service.

Updates authentication policy for the specified tenancy

» Example Usage

resource "oci_identity_authentication_policy" "test_authentication_policy" {
    #Required
    compartment_id = "${var.tenancy_ocid}"

    #Optional
    password_policy {

        #Optional
        is_lowercase_characters_required = "${var.authentication_policy_password_policy_is_lowercase_characters_required}"
        is_numeric_characters_required = "${var.authentication_policy_password_policy_is_numeric_characters_required}"
        is_special_characters_required = "${var.authentication_policy_password_policy_is_special_characters_required}"
        is_uppercase_characters_required = "${var.authentication_policy_password_policy_is_uppercase_characters_required}"
        is_username_containment_allowed = "${var.authentication_policy_password_policy_is_username_containment_allowed}"
        minimum_password_length = "${var.authentication_policy_password_policy_minimum_password_length}"
    }
}

» 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:

» Import

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

$ terraform import oci_identity_authentication_policy.test_authentication_policy "authenticationPolicies/{compartmentId}"