Domain Trust Args
Adds a trust between Active Directory domains To get more information about DomainTrust, see:
How-to Guides
Warning: All arguments including the following potentially sensitive values will be stored in the raw state as plain text:
trust_handshake_secret
. Read more about sensitive data in state.
Example Usage
Active Directory Domain Trust Basic
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.activedirectory.DomainTrust;
import com.pulumi.gcp.activedirectory.DomainTrustArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var ad_domain_trust = new DomainTrust("ad-domain-trust", DomainTrustArgs.builder()
.domain("test-managed-ad.com")
.targetDnsIpAddresses("10.1.0.100")
.targetDomainName("example-gcp.com")
.trustDirection("OUTBOUND")
.trustHandshakeSecret("Testing1!")
.trustType("FOREST")
.build());
}
}
Import
DomainTrust can be imported using any of these accepted formats
$ 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}}
Constructors
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.