AWS discovery using STS

Pat Paluri
Tera Contributor

I am trying to discover using STS in AWS. I configured the roles and a MID in AWS with IAM role attached to assume role. Refresh sub accounts action shows error. Pattern discover log shows error 

 

"message" : "2022-08-13 20:13:36: Exception occurred while executing operation Cloud REST Query. Custom operation Failed to run script due to the following error: JAVASCRIPT_CODE_FAILURE: com.snc.sw.exception.CommandFailureException: Cloud credentials are missing for https://organizations.us-east-1.amazonaws.com . Not able to generate the temporary credentials. Please check the mid server logs for exact error. (script_include:AwsApiCommand; line 260). Custom operation Failed to run script due to the following error: JAVASCRIPT_CODE_FAILURE: com.snc.sw.exception.CommandFailureException: Cloud credentials are missing for https://organizations.us-east-1.amazonaws.com . Not able to generate the temporary credentials. Please check the mid server logs for exact error. (script_include:AwsApiCommand; line 260)"

 

With this type of discovery, it is supposed to be credential less. 

 

Anyone tried this disco?

6 REPLIES 6

Chris365
Tera Contributor

Did anyone find a solution for this? 

sourabhbs
Tera Contributor

Did anyone find a solution for this error? Even though we are not using the STS, I am facing this error. Would highly appreciate if anyone could help.

Thanks