Access for the Benefits API
Access control and permissions are managed by AWS Identity and Access Management (IAM). This section provides guidance for configuring the necessary permissions to interact with the Benefits API.
Prerequisites
Before configuring permissions, ensure that your AWS account is linked to and that you created the necessary IAM roles and users. For more information, see Setup and Authentication.
Using AWS managed policies
AWS provides managed policies that grant the required
permissions to interact with the Benefits API. To provide the necessary access to
manage benefits resources, attach the
AWSPartnerCentralFullAccess policy to your IAM
identities. For more information, see AWS managed policies for users.
Assigning policies to IAM roles and users
Follow these steps to assign policies to IAM roles and users:
-
Sign in to the AWS Management Console.
-
Navigate to the IAM service.
-
Select roles or users, and choose the IAM role or user to which you want to attach a policy.
-
Attach the
AWSPartnerCentralFullAccesspolicy to the selected IAM role or user.
For more information, see Adding and removing IAM identity permissions.
Managing permissions using condition keys
Condition keys in IAM policies provide resource-level permissions for when to enforce statement policies. You can use condition keys to specify conditions that dictate when certain permissions are allowed or denied.
For more information, see IAM JSON policy elements: Condition operators.
| Condition key | Description | Applicable actions | Valid values |
|---|---|---|---|
| partnercentral:Catalog | filters access by the type of the associated catalog entity | all actions | AWS, sandbox |
Summary of required permissions
| Action | Description |
|---|---|
| partnercentral:AmendBenefitApplication | allows amending benefit applications |
| partnercentral:AssociateBenefitApplicationResource | allows associating resources with benefit applications |
| partnercentral:CancelBenefitApplication | allows canceling benefit applications |
| partnercentral:CreateBenefitApplication | allows creating benefit applications |
| partnercentral:DisassociateBenefitApplicationResource | allows disassociating resources from benefit applications |
| partnercentral:GetBenefit | allows retrieving benefit details |
| partnercentral:GetBenefitAllocation | allows retrieving benefit allocation details |
| partnercentral:GetBenefitApplication | allows retrieving benefit application details |
| partnercentral:ListBenefitAllocations | allows listing benefit allocations |
| partnercentral:ListBenefitApplications | allows listing benefit applications |
| partnercentral:ListBenefits | allows listing benefits |
| partnercentral:RecallBenefitApplication | allows recalling benefit applications |
| partnercentral:SubmitBenefitApplication | allows submitting benefit applications |
| partnercentral:UpdateBenefitApplication | allows updating benefit applications |