Amazon S3 .Net error

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?
Larry Bristersr. DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Phil PhillipsDevOps ArchitectCommented:
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Shalom CarmelCTOCommented:
Roles are only good if the instance runs on EC2.
1
Larry Bristersr. DeveloperAuthor Commented:
shalomc
Then what is the answer?
0
Shalom CarmelCTOCommented:
The most generic way is to create a new user, like Phil said in the first half of his answer.
0
Larry Bristersr. DeveloperAuthor Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.