Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

InvalidCredentialsException: AWS was not able to validate the provided access credentials

avatar
New Contributor

Hi,

I am getting this error while accessing one environment in Cloudera director... there is no issue with other environments.

Also,sorry.PNGDEL-ENV.PNG I could not see the option "Update Environment Credentails" when I click choose the environment. I have tried to use the rest api to update the credentials but it didnt work. 

curl -u admin -X POST http://sampleweb.net:7189/api/d6.2/environmen
ts/testenv/provider/credentials -H 'Content-Type: application/json' -d '{"Access key ID":"username","Secret access key":"password"}'
Enter host password for user 'admin':
{
"timestamp" : 1695055508171,
"status" : 405,
"error" : "Method Not Allowed",
"message" : "Request method 'POST' not supported",
"path" : "/api/d6.2/environments/testenv/provider/credentials"

1 REPLY 1

avatar
Super Collaborator

@bvaka it seems like the AWS credentials you have provided are not correct, can you please fetch the correct ones from AWS and pass it in the API