Register or Login to Your Account
Is this on a local system or on an EC2?
If local you should be able to run aws configure as a user, and use you access/secret keys.
In EC2, are you using IAM Profiles? you should be using those instead of ak/sk for running aws cli/sdk commands.