Directory Service for Microsoft Active Directory allows you to configure trust relationships¶
Description¶
Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Managed Microsoft AD directory, and your existing self-managed Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.
This action initiates the creation of the Amazon Web Services side of a trust relationship between an Managed Microsoft AD directory and an external domain. You can create either a forest trust or an external trust.
Usage¶
directoryservice_create_trust(DirectoryId, RemoteDomainName,
TrustPassword, TrustDirection, TrustType, ConditionalForwarderIpAddrs,
ConditionalForwarderIpv6Addrs, SelectiveAuth)
Arguments¶
-
DirectoryId[required] The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.
-
RemoteDomainName[required] The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
-
TrustPassword[required] The trust password. The trust password must be the same password that was used when creating the trust relationship on the external domain.
-
TrustDirection[required] The direction of the trust relationship.
-
TrustTypeThe trust relationship type.
Forestis the default. -
ConditionalForwarderIpAddrsThe IP addresses of the remote DNS server associated with RemoteDomainName.
-
ConditionalForwarderIpv6AddrsThe IPv6 addresses of the remote DNS server associated with RemoteDomainName.
-
SelectiveAuthOptional parameter to enable selective authentication for the trust.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_trust(
DirectoryId = "string",
RemoteDomainName = "string",
TrustPassword = "string",
TrustDirection = "One-Way: Outgoing"|"One-Way: Incoming"|"Two-Way",
TrustType = "Forest"|"External",
ConditionalForwarderIpAddrs = list(
"string"
),
ConditionalForwarderIpv6Addrs = list(
"string"
),
SelectiveAuth = "Enabled"|"Disabled"
)