» oci_identity_user

This resource provides the User Capabilities Management resource in Oracle Cloud Infrastructure Identity service.

Manages the capabilities of the specified user.

Important: Deleting the User Capabilities Management leaves the User resource in its existing state (rather than returning to its defaults)

» Example Usage

resource "oci_identity_user_capabilities_management" "test_user_capabilities_management" {
    user_id = "${oci_identity_user.user1.id}"

    can_use_api_keys             = "true"
    can_use_auth_tokens          = "true"
    can_use_console_password     = "false"
    can_use_customer_secret_keys = "true"
    can_use_smtp_credentials     = "true"

» 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

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

$ terraform import oci_identity_user_capabilities_management.test_user_capabilities_management "capabilities/{userId}"