License Manager – Management account role - Amazon License Manager
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

License Manager – Management account role

License Manager requires a service-linked role to perform license management.

Permissions for the management account role

The service-linked role named AWSServiceRoleForAWSLicenseManagerMasterAccountRole allows License Manager access to Amazon resources to manage license management actions for a central management account on your behalf.

The AWSServiceRoleForAWSLicenseManagerMasterAccountRole service-linked role trusts the license-manager.master-account.amazonaws.com service to assume the role.

To review permissions for the AWSLicenseManagerMasterAccountRolePolicy, see Amazon managed policy: AWSLicenseManagerMasterAccountRolePolicy. To learn more about configuring permissions for a service-linked role, see Service-Linked Role Permissions in the IAM User Guide.

Create a management account service-linked role

You don't need to manually create this service-linked role. When you configure cross-account license management in the Amazon Web Services Management Console, License Manager creates the service-linked role for you.

Note

To make use of cross-account support in License Manager, you must be using Amazon Organizations.

If you delete this service-linked role and then need to create it again, you can use the same process to recreate the role in your account.

You can also use the IAM console, Amazon CLI, or IAM API to create a service-linked role manually. For more information, see Creating a Service-Linked Role in the IAM User Guide.

Important

This service-linked role can appear in your account if you completed an action in another service that uses the features supported by this role. If you were using License Manager before January 1, 2017, when it began supporting service-linked roles, then License Manager created AWSServiceRoleForAWSLicenseManagerMasterAccountRole in your account. For more information, see A New Role Appeared in My IAM Account.

You can use the License Manager console to create this service-linked role.

To create the service-linked role
  1. Open the License Manager console at https://console.amazonaws.cn/license-manager/.

  2. Choose Settings, Edit.

  3. Choose Link Amazon Organizations accounts.

  4. Choose Apply.

You can also use the IAM console to create a service-linked role with the License Manager–Management account use case. Alternatively, in the Amazon CLI or the Amazon API, use IAM to create a service-linked role with the license-manager.master-account.amazonaws.com service name. For more information, see Creating a Service-Linked Role in the IAM User Guide.

If you delete this service-linked role, you can use the same IAM process to create the role again.

Edit a service-linked role for License Manager

License Manager does not allow you to edit the AWSServiceRoleForAWSLicenseManagerMasterAccountRole service-linked role. After you create a service-linked role, you cannot change the name of the role because various entities might reference the role. However, you can edit the description of the role using IAM. For more information, see Editing a Service-Linked Role in the IAM User Guide.

Delete a service-linked role for License Manager

If you no longer need to use a feature or service that requires a service-linked role, we recommend that you delete that role. That way, you only have entities that are actively monitored or maintained. However, you must clean up your service-linked role before you can manually delete it.

Manually delete the service-linked role

Use the IAM console, Amazon CLI, or Amazon API to delete the AWSServiceRoleForAWSLicenseManagerMasterAccountRole service-linked role. For more information, see Deleting a Service-Linked Role in the IAM User Guide.