» Data Source: oci_core_instance_credentials
This data source provides details about a specific Instance Credential resource in Oracle Cloud Infrastructure Core service.
Gets the generated credentials for the instance. Only works for instances that require password to log in (E.g. Windows). For certain OS'es, users will be forced to change the initial credentials.
» Example Usage
data "oci_core_instance_credentials" "test_instance_credential" {
#Required
instance_id = "${oci_core_instance.test_instance.id}"
}
» Argument Reference
The following arguments are supported:
-
instance_id
- (Required) The OCID of the instance.
» Attributes Reference
The following attributes are exported: