Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A client error (InvalidAccessKeyId): Uploading failing #1946

Closed
mokshpooja opened this issue Apr 30, 2016 · 1 comment
Closed

A client error (InvalidAccessKeyId): Uploading failing #1946

mokshpooja opened this issue Apr 30, 2016 · 1 comment
Assignees
Labels
closing-soon This issue will automatically close in 4 days unless further comments are made. guidance Question that needs advice or information.

Comments

@mokshpooja
Copy link

mokshpooja commented Apr 30, 2016

Hi Guys,
I am new with this. Have big data that I need to periodically upload to s3. I am not using IAM roles yet, just using master. Wanted to get it working before changing to IAM roles.
I have both %userDir%/.aws/credentials and %userDir%/.aws/config files as below-
%userDir%/.aws/credentials-

[default]
aws_access_key_id=key1
aws_secret_access_key=pass1

%userDir%/.aws/config-

[default]
aws_access_key_id=key1
aws_secret_access_key=pass1
region=us-west-2
output=json
export AWS_CREDENTIALS_FILE=%userDir%/.aws/credentials
export AWS_CONFIG_FILE=%userDir%/.aws/config

I tried uploading only 1 file but I get-
A client error (InvalidAccessKeyId) occurred when calling the PutObject operation: The AWS Access Key Id you provided does not exist in our records.

versions I am using-
aws-cli/1.10.24
Python/2.7.9
Linux/3.13.0-48-generic botocore/1.4.15

@kyleknap
Copy link
Contributor

kyleknap commented May 3, 2016

A quick way to figure out what credentials are being used is by running: aws configure list. That will show where the credentials are being pulled from in the CLI. Let us know if that helps you figure out your credentials issue.

@kyleknap kyleknap added question closing-soon This issue will automatically close in 4 days unless further comments are made. labels May 3, 2016
@kyleknap kyleknap self-assigned this May 3, 2016
@jamesls jamesls closed this as completed May 12, 2016
@diehlaws diehlaws added guidance Question that needs advice or information. and removed question labels Jan 4, 2019
thoward-godaddy pushed a commit to thoward-godaddy/aws-cli that referenced this issue Feb 12, 2022
Why is this change necessary?

* Needed for new release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closing-soon This issue will automatically close in 4 days unless further comments are made. guidance Question that needs advice or information.
Projects
None yet
Development

No branches or pull requests

4 participants