Amazon S3 .Net error

Larry Brister
Larry Brister used Ask the Experts™
on
In the C# example of uploading my files to my s3 server... Amazon Docs
I am getting this error...
"The AWS Access Key Id you provided does not exist in our records."
What is that and how do I find it in my amazon server?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior Platform Engineer
Commented:
You need to have a user with an Amazon API key associated with it.  You can manage users here: https://console.aws.amazon.com/iam/home

Go to the "users" list.  I would recommend creating a new user for your app access (with programatic access).  There's more information on how to do that here: http://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html. When you create the key, it will allow you to download the access key and secret that you can use to copy/paste into your code.

Once you get comfortable with how IAM (Identity and Access Management) works with Amazon, I would also recommend looking into IAM Roles as an alternative to the API key.  Instead of having keys, you apply roles to instances that will be running your app.  IAM roles are more secure than using a regular API key since the keys are automatically rotated frequently.
Roles are only good if the instance runs on EC2.
Larry Bristersr. Developer

Author

Commented:
shalomc
Then what is the answer?
The most generic way is to create a new user, like Phil said in the first half of his answer.
Larry Bristersr. Developer

Author

Commented:
Thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial