CmdID / aws / aws securityhub
aws securityhub accept-administrator-invitation
We recommend using Organizations instead of Security Hub CSPM invitations to manage your member accounts. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To accept an invitation from an administrator account
The following accept-administrator-invitation example accepts the specified invitation from the specified administrator account.
aws securityhub accept-administrator-invitation --administrator-id 123456789012 --invitation-id 7ab938c5d52d7904ad09f9e7c20cc4ebIdentify--administrator-idThe account ID of the Security Hub CSPM administrator account that sent the invitation.--invitation-idThe identifier of the invitation sent from the Security Hub CSPM administrator account.This command produces no output.
For more information, see Managing administrator and member accounts in the AWS Security Hub User Guide.
Options
--administrator-idThe account ID of the Security Hub CSPM administrator account that sent the invitation.--invitation-idThe identifier of the invitation sent from the Security Hub CSPM administrator account.