Data Source: oci_identity_db_credentials

This data source provides the list of Db Credentials in Oracle Cloud Infrastructure Identity service.

Lists the DB credentials for the specified user. The returned object contains the credential's OCID

Example Usage

data "oci_identity_db_credentials" "test_db_credentials" {
    #Required
    user_id = oci_identity_user.test_user.id

    #Optional
    name = var.db_credential_name
    state = var.db_credential_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

DbCredential Reference

The following attributes are exported: