USM Anywhere requires an access key to make programmatic calls to AWS API operations. These access keys consist of an access key ID and a secret access key.
To create an AWS Access Key ID
- Log in to your AWS Account and go to the Amazon SNS console.
- Create a new user (see the Add User page).
- Select Programmatic access.
- Click Next: Permissions.
- Click Attach existing policies directly.
- Click Create policy.
-
Create a policy with the following code:
{ "Version":"2012-10-17",
"Statement":[{ "Effect":"Allow", "Action":"sns:Publish", "Resource":"arn:aws:sns:us-east-1:<ACCOUNT_ID>:<USMA>" } ] }
- Replace <ACCOUNT_ID> and <USMA> with the ID of your AWS Account and the name of the SNS Topic you created. See Set Up an Amazon SNS Topic for details.
- Attach the new policy you created.
- Attach also the AmazonSNSReadOnlyAccess policy or manually add permissions to list topics ("Resource": "*").
- Click Next and Create User.
Note: Copy the access key ID and secret access key, which you will need to configure Amazon SNS in USM Anywhere.