AWS directoryservice documentation change
Summary
Updated prerequisites and simplified CLI/PowerShell instructions for deleting AWS Managed Microsoft AD users. Removed references to 'user and group management', clarified region requirements for enabling features, and reorganized IAM permission guidance.
Security assessment
Changes are editorial improvements focusing on clarity and accuracy. No security vulnerabilities are mentioned or addressed. Updates to IAM permission references maintain existing security documentation but don't introduce new security features or address specific vulnerabilities.
Diff
diff --git a/directoryservice/latest/admin-guide/ms_ad_delete_user.md b/directoryservice/latest/admin-guide/ms_ad_delete_user.md index 75fc1de26..d9f1911f0 100644 --- a//directoryservice/latest/admin-guide/ms_ad_delete_user.md +++ b//directoryservice/latest/admin-guide/ms_ad_delete_user.md @@ -9 +9 @@ -Use the following procedure to delete an AWS Managed Microsoft AD user with user and group management or AWS Directory Service Data in either the AWS Management Console, AWS CLI, AWS Tools for PowerShell. +Use the following procedure to delete an AWS Managed Microsoft AD user with AWS Directory Service Data in the AWS Management Console, AWS CLI, or AWS Tools for PowerShell. @@ -15 +15 @@ When you delete a user's account from a directory, all information about the use -###### Before you begin either procedure, you need to complete the following: +###### Before you begin, complete the following: @@ -19 +19 @@ When you delete a user's account from a directory, all information about the use - * To use user and group management or AWS Directory Service Data CLI, it must be enabled. For more information, see [Enable user and group management or Directory Service Data](./ms_ad_users_groups_mgmt_enable_disable.html). + * Enable [user and group management for Directory Service Data](./ms_ad_users_groups_mgmt_enable_disable.html). You can only enable this feature from the Primary AWS Region for your directory. For more information, see [Primary vs additional Regions](https://docs.aws.amazon.com/directoryservice/latest/admin-guide/multi-region-global-primary-additional.html). @@ -21,3 +21 @@ When you delete a user's account from a directory, all information about the use - * You can only enable this feature from the Primary AWS Region for your directory. For more information, see [Primary vs additional Regions](https://docs.aws.amazon.com/directoryservice/latest/admin-guide/multi-region-global-primary-additional.html). - - * You'll need the necessary IAM permissions to use AWS Directory Service Data. For more information, see [Directory Service API permissions: Actions, resources, and conditions reference](./UsingWithDS_IAM_ResourcePermissions.html). To get started granting permissions to your users and workloads, you can use AWS managed policies like [AWS managed policy: AWSDirectoryServiceDataFullAccess](./security-iam-awsmanpol.html#security-iam-awsmanpol-AWSDirectoryServiceDataFullAccess) or [AWS managed policy: AWSDirectoryServiceDataReadOnlyAccess](./security-iam-awsmanpol.html#security-iam-awsmanpol-AWSDirectoryServiceDataReadOnlyAccess). For more information, see [Security best practices in IAM](https://docs.aws.amazon.com//IAM/latest/UserGuide/best-practices.html#bp-use-aws-defined-policies). + * You'll need the necessary IAM permissions to use AWS Directory Service Data. To get started, you can use the [AWS managed policy: AWSDirectoryServiceDataFullAccess](./security-iam-awsmanpol.html#security-iam-awsmanpol-AWSDirectoryServiceDataFullAccess) or [AWS managed policy: AWSDirectoryServiceDataReadOnlyAccess](./security-iam-awsmanpol.html#security-iam-awsmanpol-AWSDirectoryServiceDataReadOnlyAccess). For more information, see [Directory Service API permissions: Actions, resources, and conditions reference](./UsingWithDS_IAM_ResourcePermissions.html) and [Security best practices in IAM](https://docs.aws.amazon.com//IAM/latest/UserGuide/best-practices.html#bp-use-aws-defined-policies). @@ -59 +57 @@ The following describes how to format a request that deletes an AWS Managed Micr - * Open the AWS CLI, and run the following command, replacing the Directory ID and username with your AWS Managed Microsoft AD Directory ID and username: + * Open the AWS CLI, and run the following command with your Directory ID and username: @@ -67 +65,3 @@ The following describes how to format a request that deletes an AWS Managed Micr -AWS Tools for PowerShell +For more information, see [`delete-user`](https://docs.aws.amazon.com//cli/latest/reference/ds-data/delete-user.html). + +PowerShell @@ -74 +74 @@ The following describes how to format a request that deletes an AWS Managed Micr - * Open PowerShell, and run the following command, replacing the Directory ID and username with your AWS Managed Microsoft AD Directory ID and username: + * Open PowerShell, and run the following command with your Directory ID and username: @@ -81,0 +82,2 @@ The following describes how to format a request that deletes an AWS Managed Micr +For more information, see [`Remove-DSDUser`](https://docs.aws.amazon.com//powershell/latest/reference/items/Remove-DSDUser.html). +