Adding Cloud Credentials

I am trying to add a cloud credential to my SUSE Rancher account. Though the AWS IAM user I have created has active access key and secret key I am getting following error in SUSE Rancher UI: “Authentication test failed. Please check your credentials”. How to fix this issue?