选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

EnableOrganizationsRootSessions - AWS Identity and Access Management
此页面尚未翻译为您的语言。 请求翻译

EnableOrganizationsRootSessions

Allows the management account or delegated administrator to perform privileged tasks on member accounts in your organization. For more information, see Centrally manage root access for member accounts in the AWS Identity and Access Management User Guide.

Before you enable this feature, you must have an account configured with the following settings:

  • You must manage your AWS accounts in AWS Organizations.

  • Enable trusted access for AWS Identity and Access Management in AWS Organizations. For details, see IAM and AWS Organizations in the AWS Organizations User Guide.

Response Elements

The following elements are returned by the service.

EnabledFeatures.member.N

The features you have enabled for centralized root access.

Type: Array of strings

Valid Values: RootCredentialsManagement | RootSessions

OrganizationId

The unique identifier (ID) of an organization.

Type: String

Length Constraints: Maximum length of 34.

Pattern: ^o-[a-z0-9]{10,32}$

Errors

For information about the errors that are common to all actions, see Common Errors.

AccountNotManagementOrDelegatedAdministrator

The request was rejected because the account making the request is not the management account or delegated administrator account for centralized root access.

HTTP Status Code: 400

CallerIsNotManagementAccount

The request was rejected because the account making the request is not the management account for the organization.

HTTP Status Code: 400

OrganizationNotFound

The request was rejected because no organization is associated with your account.

HTTP Status Code: 400

OrganizationNotInAllFeaturesMode

The request was rejected because your organization does not have All features enabled. For more information, see Available feature sets in the AWS Organizations User Guide.

HTTP Status Code: 400

ServiceAccessNotEnabled

The request was rejected because trusted access is not enabled for IAM in AWS Organizations. For details, see IAM and AWS Organizations in the AWS Organizations User Guide.

HTTP Status Code: 400

Examples

Example

This example illustrates one usage of EnableOrganizationsRootSessions.

Sample Request

https://iam.amazonaws.com/?Action=EnableOrganizationsRootSessions &Version=2010-05-08 &AUTHPARAMS

Sample Response

<EnableOrganizationsRootSessionsResponse xmlns="https://iam.amazonaws.com/doc/2024-11-03/"> <ResponseMetadata> <EnabledFeatures> <member><RootCredentialsManagement></member> <member><RootSessions></member> </EnabledFeatures> <OrganizationId>o111122223333</OrganizationId> </ResponseMetadata> </EnableOrganizationsRootSessionsResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。