Getting started with Amazon Web Services Support authorization
This tutorial walks you through setting up Amazon Web Services Support authorization and creating your first support permit. You complete the following steps:
This tutorial takes approximately 10 minutes to complete.
Create an Amazon KMS signing key
Set up IAM permissions
Create your first support permit
Review support permit requests from Amazon Web Services Support
Prerequisites
Before you begin, verify that you have the following:
An active Amazon account
Permissions to create Amazon KMS keys in your account
Permissions to create IAM policies and attach them to users or roles
Step 1: Create an Amazon KMS signing key
Amazon Web Services Support authorization requires a Amazon KMS key with key spec
ECC_NIST_P384 and key usage SIGN_VERIFY. The key must be
in the same Region as your support permit.
Note
If you already have a Amazon KMS key with key spec ECC_NIST_P384
and key usage SIGN_VERIFY in the same Region, you can skip
this step and use that key.
To create the key, run the following Amazon CLI command:
aws kms create-key \ --key-usage SIGN_VERIFY \ --key-spec ECC_NIST_P384 \ --description "SupportAuthZ signing key" \ --tags TagKey=supportauthz:managed,TagValue=true \ --region us-east-1
Note the key ARN from the output. You use this value when you create support permits.
Include the required Amazon Web Services Support authorization policy statements in the
create-key call. For the required statements, see
Configuring Amazon KMS keys for Amazon Web Services Support authorization.
Example output
{ "KeyMetadata": { "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", "Arn": "arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", "KeySpec": "ECC_NIST_P384", "KeyUsage": "SIGN_VERIFY" } }
Step 2: Set up IAM permissions
Attach an IAM policy that grants permissions for Amazon Web Services Support authorization API operations. The following example policy grants access to all Amazon Web Services Support authorization actions.
The supportauthz:RegisterKey action lets you associate
Amazon KMS keys with support permits. This permission-only action must be present in
your IAM policy for Amazon Web Services Support authorization to function.
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "supportauthz:CreateSupportPermit", "supportauthz:RegisterKey", "supportauthz:DeleteSupportPermit", "supportauthz:GetSupportPermit", "supportauthz:ListSupportPermits", "supportauthz:ListSupportPermitRequests", "supportauthz:RejectSupportPermitRequest", "supportauthz:GetAction", "supportauthz:ListActions" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "kms:DescribeKey" ], "Resource": "arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", "Condition": { "StringEquals": { "kms:ViaService": "supportauthz.us-east-1.amazonaws.com" } } }, { "Effect": "Allow", "Action": [ "kms:CreateGrant" ], "Resource": "arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", "Condition": { "StringEquals": { "kms:ViaService": "supportauthz.us-east-1.amazonaws.com", "kms:RetiringServicePrincipal": "us-east-1.supportauthz.amazonaws.com", "kms:GranteeServicePrincipal": "us-east-1.supportauthz.amazonaws.com" }, "ForAllValues:StringEquals": { "kms:GrantOperations": [ "DescribeKey", "GetPublicKey", "Sign" ] } } } ] }
To attach this policy to an IAM user or role, see Adding and removing IAM identity permissions in the Amazon Identity and Access Management User Guide.
Step 3: Create your first support permit
Create a support permit that authorizes Amazon Web Services Support to access information about your services for specific resources.
Step 4: Review support permit requests from Amazon Web Services Support
When Amazon Web Services Support needs access to information about your services and no matching support permit exists, Amazon Web Services Support submits a support permit request. You can view pending requests and approve or reject them.
Review each request and decide whether to approve or reject it:
-
To approve: Create a support permit that covers the requested scope. Include the
supportCaseDisplayIdparameter to automatically deactivate the support permit when the case closes. -
To reject: Call
RejectSupportPermitRequestto notify Amazon Web Services Support that you don't want to accept the request. Rejecting a request doesn't prevent you from creating a support permit for the same actions and resources later.
Next steps
After you complete this tutorial, see the following topics:
To learn more about scoping support permits, see Managing support permits.
To monitor support actions on your resources, see Monitoring Amazon Web Services Support authorization with Amazon CloudTrail.