Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The AWS Access Key Id needs a subscription for the service

I'm getting following error when tried to create topic for amazon sns :

The AWS Access Key Id needs a subscription for the service (Service: AmazonSNS; Status Code: 403; Error Code: OptInRequired; Request ID: 4b507354-d0ff-5769-aa80-3c296a6c7f7d)

I've also created IAM user and subscribed for the SNS service but getting same result every time.

like image 579
Mr. Engineer Avatar asked Apr 05 '16 13:04

Mr. Engineer


People also ask

What is access key ID in AWS?

To access AWS, you will need to sign up for an AWS account. Access keys consist of an access key ID and secret access key, which are used to sign programmatic requests that you make to AWS. If you don't have access keys, you can create them by using the IAM console at https://console.aws.amazon.com/iam/ .

How do I use AWS access key?

Sign in to the AWS Management Console and open the IAM console at https://console.aws.amazon.com/iam/ . In the navigation pane, choose Users. Choose the name of the user whose access keys you want to create, and then choose the Security credentials tab. In the Access keys section, choose Create access key.

Why do we need AWS access key?

An access key grants programmatic access to your resources. This means that you must guard the access key as carefully as the AWS account root user sign-in credentials. It's a best practice to do the following: Create an IAM user, and then define that user's permissions as narrowly as possible.


1 Answers

It takes a while to AWS to verify your card details after you register a new account with AWS. It would be great if AWS would give a more sensible message,

like image 76
qais Avatar answered Sep 22 '22 22:09

qais