AWS workmail high security documentation change
Summary
Added documentation about authorization model changes for AWS Managed Active Directory integration, including required IAM permissions and migration steps
Security assessment
The change introduces new authorization requirements (DS-Data API permissions) to prevent unauthorized directory modifications. It explicitly addresses security controls by requiring specific IAM actions like ds:AccessDSData and ds-data:CreateUser, which are security-related permissions for directory operations.
Diff
diff --git a/workmail/latest/adminguide/add_new_organization.md b/workmail/latest/adminguide/add_new_organization.md index baeb91df4..365b4b873 100644 --- a//workmail/latest/adminguide/add_new_organization.md +++ b//workmail/latest/adminguide/add_new_organization.md @@ -5 +5 @@ -Creating an organizationViewing an organization's detailsIntegrating a WorkSpaces directoryOrganization states and descriptions +Important changes for Managed ADCreating an organizationManaged AD IntegrationViewing an organization's detailsIntegrating a WorkSpaces directoryOrganization states and descriptions @@ -11 +11,12 @@ To use Amazon WorkMail, you must first create an organization. One AWS account c -You can create a new user directory, or integrate Amazon WorkMail with an existing directory. You can use Amazon WorkMail with an on-premises Microsoft Active Directory, AWS Managed Active Directory, or Simple AD. By integrating with your on-premises directory, you can use your existing users and groups in Amazon WorkMail and users can sign in with their existing credentials. If you’re using an on-premises directory, you must first set up an AD Connector in AWS Directory Service. The AD Connector synchronizes your users and groups with the Amazon WorkMail address book and performs user authentication requests. For more information, see [Active Directory Connector](https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_ad_connector.html) in the _AWS Directory Service Administration Guide_. +You can create a new Amazon WorkMail directory for use with your WorkMail organization, or integrate Amazon WorkMail with an existing directory. You can use Amazon WorkMail with existing directories of the following types: + + * on-premises Microsoft Active Directory + + * AWS Managed Active Directory (which is a [Microsoft AD managed by AWS Directory Service](https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.html)) + + * Simple AD + + + + +By integrating with your on-premises directory, you can use your existing users and groups in Amazon WorkMail and users can sign in with their existing credentials. If you’re using an on-premises directory, you must first set up an AD Connector in AWS Directory Service. The AD Connector synchronizes your users and groups with the Amazon WorkMail address book and performs user authentication requests. For more information, see [Active Directory Connector](https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_ad_connector.html) in the _AWS Directory Service Administration Guide_. @@ -26,0 +38,2 @@ Remember the following when creating an Amazon WorkMail organization: + * Amazon WorkMail synchronizes directory data with AWS Managed Active Directory, Simple AD and AD Connector every four hours. + @@ -29,0 +43,8 @@ Remember the following when creating an Amazon WorkMail organization: +## Important changes for using AWS Managed Active Directory + +Amazon WorkMail is updating its authorization model for organizations that use AWS Managed Active Directory (Managed AD). This change affects how Amazon WorkMail interacts with directory data and requires you to take specific actions to ensure continued functionality. + +Previously, when an Amazon WorkMail organization was created with AWS Managed Active Directory, Amazon WorkMail used service-level permissions to interact with the Managed AD. To provide additional flexibility for customers to separate directory management and mailbox administration roles, WorkMail’s APIs and console will now use AWS Directory Service Data (DS-Data) APIs to create or update users and groups in AWS Managed Active Directories. An IAM principal executing these operations through the WorkMail console or APIs will also need authorization to use the equivalent DS-Data actions against the Managed AD associated with their WorkMail organization, providing more granular control and better integration with IAM policies. + +Whether you create a new organization with Managed AD, or have an existing organization that uses Managed AD, if you wish to continue being able to create, update, or delete users and groups through the WorkMail console or APIs, you will have to complete additional configuration steps to ensure proper functionality with the updated authorization model. This is explained in Configuring AWS Managed Active Directory integration. + @@ -33,0 +55,2 @@ Remember the following when creating an Amazon WorkMail organization: + * Configuring AWS Managed Active Directory integration + @@ -95,0 +119,38 @@ When your organization is **Active** , you can add users to it and set up their +## Configuring AWS Managed Active Directory integration + +When using AWS Managed Active Directory with your Amazon WorkMail organization, additional configuration steps ensure proper functionality with the updated authorization model. + +###### To configure Managed AD integration for new organizations + + 1. In the AWS Directory Service console, navigate to your Managed AD (Microsoft AD), or from the Amazon WorkMail console, select **Users** or **Groups** in the left navigation panel, and then click the directory link in the note box at the top of the page. + + 2. Choose **Enable** for **User and group management**. This setting is disabled by default and must be enabled to perform write operations on users and groups. + + 3. Ensure your IAM principal has the required permissions by attaching a policy with these actions: + + ds:AccessDSData + ds:ResetUserPassword + ds-data:CreateGroup + ds-data:DeleteGroup + ds-data:AddGroupMember + ds-data:RemoveGroupMember + ds-data:CreateUser + ds-data:DeleteUser + ds-data:UpdateUser + + + + +###### To migrate existing Managed AD organizations + + 1. Monitor the Users or Groups page in the Amazon WorkMail console for migration notifications. + + 2. When the notification appears, toggle on **Enable updated directory operations** to migrate to the new Directory Service APIs. + + 3. Finally, ensure that you have enabled **User and group management** in the AWS Directory Service console and have updated your IAM policies with the required DS-Data permissions as described in the previous section. + + + + +The use of AWS Directory Service Data (DS-Data) APIs for creating, updating, and deleting users will be enabled for any remaining Amazon WorkMail organizations using Managed AD where this has not previously been enabled. +