Oracle OCI - Service Account Validation pattern return error: "JAVASCRIPT_CODE_FAILURE: RSA private key must be supplied for authentication"DescriptionWhen setting up cloud discovery schedule for Oracle Cloud Infrastructure discovery, you need to set-up the OCI credential.However, during the "Test Account" activity to validate the credential, you might encounter the following error:"The API response is not valid. Please check the log for more information Pattern name: Oracle OCI - Service Account Validation" Reference to Documentation: https://docs.servicenow.com/bundle/quebec-it-operations-management/page/product/service-mapping/reference/oracle-cloud-infrastructure-discovery.html Release or EnvironmentAnyCauseChecking the pattern log for "Oracle OCI - Service Account Validation", we can see the following error at "Get Service Account" step:======JAVASCRIPT_CODE_FAILURE: RSA private key must be supplied for authentication. Refer: https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm (script_include:CloudApi; line 70).======This is because the private key you have entered into the credential is not in RSA format (most likely the standard PEM format).ResolutionPlease refer to the attached whitepaper: oracle-cloud-infrastructure-discovery-whitepaper.pdfMake sure you executed this step:=====8.Convert Private Key to RSA format using online tools(ex https://decoder.link/rsa_converter) or run the following openssl rsa command: openssl rsa -in server.key -out server_new.key Please use the following openssl version to convert the file:OpenSSL 1.0.2k-fips 26 Jan 2017 =====After that, copy the RSA formatted key to the OCI credential "Private Key" column.