blob: cba54a29d0b4521ce750c9e0f20374bae9ca8191 [file] [log] [blame] [edit]
---
subcategory: "Cloud VMware Engine"
description: |-
Get Vcenter Credentials of a Private Cloud.
---
# google_vmwareengine_vcenter_credentials
Use this data source to get Vcenter credentials for a Private Cloud.
To get more information about private cloud Vcenter credentials, see:
* [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds/showVcenterCredentials)
## Example Usage
```hcl
data "google_vmwareengine_vcenter_credentials" "ds" {
parent = "projects/my-project/locations/us-west1-a/privateClouds/my-cloud"
}
```
## Argument Reference
The following arguments are supported:
* `parent` - (Required) The resource name of the private cloud which contains the Vcenter.
## Attributes Reference
In addition to the arguments listed above, the following computed attributes are exported:
* `username` - The username of the Vcenter Credential.
* `password` - The password of the Vcenter Credential.