Integrating and configuring an organization in Macie
To start using Amazon Macie with AWS Organizations, the AWS Organizations management account for the organization designates an account as the delegated Macie administrator account for the organization. This enables Macie as a trusted service in AWS Organizations. It also enables Macie in the current AWS Region for the designated administrator account, and it allows the designated administrator account to enable and manage Macie for other accounts in the organization in that Region. For information about how these permissions are granted, see Using AWS Organizations with other AWS services in the AWS Organizations User Guide.
The delegated Macie administrator then configures the organization in Macie, primarily by adding the organization’s accounts as Macie member accounts in the Region. The administrator can then access certain Macie settings, data, and resources for those accounts in that Region. They can also perform automated sensitive data discovery and run sensitive data discovery jobs to detect sensitive data in Amazon Simple Storage Service (Amazon S3) buckets that the accounts own.
This topic explains how to designate a delegated Macie administrator for an organization and how to add the organization's accounts as Macie member accounts. Before you perform these tasks, ensure that you understand the relationship between Macie administrator and member accounts. It’s also a good idea to review the considerations and recommendations for using Macie with AWS Organizations.
Tasks
To integrate and configure the organization in multiple Regions, the AWS Organizations management account and the delegated Macie administrator repeat these steps in each additional Region.
Step 1: Verify your permissions
Before you designate the delegated Macie administrator account for your organization, verify that
you (as a user of the AWS Organizations management account) are allowed to perform the following
Macie action: macie2:EnableOrganizationAdminAccount
. This action allows you
to designate the delegated Macie administrator account for your organization by using Macie.
Also verify that you're allowed to perform the following AWS Organizations actions:
-
organizations:DescribeOrganization
-
organizations:EnableAWSServiceAccess
-
organizations:ListAWSServiceAccessForOrganization
-
organizations:RegisterDelegatedAdministrator
These actions allow you to: retrieve information about your organization; integrate Macie with AWS Organizations; retrieve information about which AWS services you've integrated with AWS Organizations; and, designate a delegated Macie administrator account for your organization.
To grant these permissions, include the following statement in an AWS Identity and Access Management (IAM) policy for your account:
{ "Sid": "Grant permissions to designate a delegated Macie administrator", "Effect": "Allow", "Action": [ "macie2:EnableOrganizationAdminAccount", "organizations:DescribeOrganization", "organizations:EnableAWSServiceAccess", "organizations:ListAWSServiceAccessForOrganization", "organizations:RegisterDelegatedAdministrator" ], "Resource": "*" }
If you want to designate your AWS Organizations management account as the delegated
Macie administrator account for the organization, your account also needs permission to perform the
following IAM action: CreateServiceLinkedRole
. This action allows you to
enable Macie for the management account. However, based on AWS security best practices
and the principle of least privilege, we don't recommend that you do this.
If you decide to grant this permission, add the following statement to the IAM policy for your AWS Organizations management account:
{ "Sid": "Grant permissions to enable Macie", "Effect": "Allow", "Action": [ "iam:CreateServiceLinkedRole" ], "Resource": "arn:aws:iam::
111122223333
:role/aws-service-role/macie.amazonaws.com/AWSServiceRoleForAmazonMacie", "Condition": { "StringLike": { "iam:AWSServiceName": "macie.amazonaws.com" } } }
In the statement, replace 111122223333
with the
account ID for the management account.
If you want to administer Macie in an opt-in AWS Region (Region that's disabled by
default), also update the value for the Macie service principal in the
Resource
element and the iam:AWSServiceName
condition. The
value must specify the Region code for the Region. For example, to administer Macie in
the Middle East (Bahrain) Region, which has the Region code me-south-1, do the following:
-
In the
Resource
element, replacearn:aws:iam::
111122223333
:role/aws-service-role/macie.amazonaws.com/AWSServiceRoleForAmazonMaciewith
arn:aws:iam::
111122223333
:role/aws-service-role/macie.me-south-1
.amazonaws.com/AWSServiceRoleForAmazonMacieWhere
111122223333
specifies the account ID for the management account andme-south-1
specifies the Region code for the Region. -
In the
iam:AWSServiceName
condition, replacemacie.amazonaws.com
withmacie.
, whereme-south-1
.amazonaws.comme-south-1
specifies the Region code for the Region.
For a list of Regions where Macie is currently available and the Region code for each one, see Amazon Macie endpoints and quotas in the AWS General Reference. To determine whether a Region is an opt-in Region, see Enable or disable AWS Regions in your account in the AWS Account Management User Guide.
Step 2: Designate the delegated Macie administrator account for the organization
After you verify your permissions, you (as a user of the AWS Organizations management account) can designate the delegated Macie administrator account for your organization.
To designate the delegated Macie administrator account for an organization
To designate the delegated Macie administrator account for your organization, you can use the Amazon Macie console or the Amazon Macie API. Only a user of the AWS Organizations management account can perform this task.
After you designate the Macie administrator account for your organization, the Macie administrator can begin configuring the organization in Macie.
Step 3: Automatically enable and add new organization accounts as Macie member accounts
By default, Macie isn’t automatically enabled for new accounts when the accounts are added to your organization in AWS Organizations. In addition, the accounts aren’t automatically added as Macie member accounts. The accounts appear in the Macie administrator's account inventory. However, Macie isn't necessarily enabled for the accounts and the Macie administrator can’t necessarily access Macie settings, data, and resources for the accounts.
If you’re the delegated Macie administrator for the organization, you can change this configuration setting. You can turn on automatic enablement for your organization. If you do this, Macie is automatically enabled for new accounts when the accounts are added to your organization in AWS Organizations. In addition, the accounts are automatically associated with your Macie administrator account as member accounts. Turning on this setting doesn't affect existing accounts in your organization. To enable and manage Macie for existing accounts, you must manually add the accounts as Macie member accounts. The next step explains how to do this.
Note
If you turn on automatic enablement, note the following exception. If a new account is already associated with a different Macie administrator account, Macie doesn’t automatically add the account as a member account in your organization. The account must disassociate from its current Macie administrator account before it can be part of your organization in Macie. You can then manually add the account. To identify accounts where this is the case, you can review the account inventory for your organization.
To automatically enable and add new organization accounts as Macie member accounts
To automatically enable and add new accounts as Macie member accounts, you can use the Amazon Macie console or the Amazon Macie API. Only the delegated Macie administrator for the organization can perform this task.
Step 4: Enable and add existing organization accounts as Macie member accounts
When you integrate Macie with AWS Organizations, Macie isn’t automatically enabled for all the existing accounts in your organization. In addition, the accounts aren’t automatically associated with the delegated Macie administrator account as Macie member accounts. Therefore, the final step of integrating and configuring your organization in Macie is to add existing organization accounts as Macie member accounts. When you add an existing account as a Macie member account, Macie is automatically enabled for the account and you (as the delegated Macie administrator) gain access to certain Macie settings, data, and resources for the account.
Note that you can’t add an account that’s currently associated with another Macie administrator account. To add the account, work with the account owner to first disassociate the account from its current administrator account. In addition, you can’t add an existing account if Macie is currently suspended for the account. The account owner must first re-enable Macie for the account. Finally, if you want to add the AWS Organizations management account as a member account, a user of that account must first enable Macie for the account.
To enable and add existing organization accounts as Macie member accounts
To enable and add existing organization accounts as Macie member accounts, you can use the Amazon Macie console or the Amazon Macie API. Only the delegated Macie administrator for the organization can perform this task.