Domain Trust
Adds a trust between Active Directory domains To get more information about DomainTrust, see:
How-to Guides
Example Usage
Active Directory Domain Trust Basic
resources:
ad-domain-trust:
type: gcp:activedirectory:DomainTrust
properties:
domain: test-managed-ad.com
targetDomainName: example-gcp.com
targetDnsIpAddresses:
- 10.1.0.100
trustDirection: OUTBOUND
trustType: FOREST
trustHandshakeSecret: Testing1!
deletionProtection: false
Import
DomainTrust can be imported using any of these accepted formats:
projects/{{project}}/locations/global/domains/{{domain}}/{{target_domain_name}}
{{project}}/{{domain}}/{{target_domain_name}}
{{domain}}/{{target_domain_name}}
When using thepulumi import
command, DomainTrust can be imported using one of the formats above. For example:
$ pulumi import gcp:activedirectory/domainTrust:DomainTrust default projects/{{project}}/locations/global/domains/{{domain}}/{{target_domain_name}}
$ pulumi import gcp:activedirectory/domainTrust:DomainTrust default {{project}}/{{domain}}/{{target_domain_name}}
$ pulumi import gcp:activedirectory/domainTrust:DomainTrust default {{domain}}/{{target_domain_name}}
Properties
Whether the trusted side has forest/domain wide access or selective access to an approved set of resources.
The target DNS server IP addresses which can resolve the remote domain involved in the trust.
The fully qualified target domain name which will be in trust with the current domain.
The trust direction, which decides if the current domain is trusted, trusting, or both. Possible values are: INBOUND
, OUTBOUND
, BIDIRECTIONAL
.
The trust secret used for the handshake with the target domain. This will not be stored. Note: This property is sensitive and will not be displayed in the plan.