KSC Open API
Kaspersky Security Center API description
boolean CloudAccess::VerifyCredentials ( int  enCloudType,
params  pKeyPair 
)

Verify credentials.

Parameters:
enCloudTypeType of the cloud infrastructure being accessed (a KLCLOUD_TYPE_*, now only Microsoft Azure is supported), see: Cloud type (paramInt, mandatory)
pKeyPairCloud authentication credentials. (paramParams, mandatory)

GCP: Not supported

AWS: Not supported

Azure:
"CLIENT_ID"Subscription ID (paramString, mandatory if there is "AZURE_APP_ID")
"AZURE_APP_ID"Application ID (Client ID) (paramString, mandatory if there is "CLIENT_SECRET")
"CLIENT_SECRET"Client Secret, must be protected globally as UTF8 string (paramBinary, optional)
"AZURE_STORAGE_NAME"Storage account name (paramString, mandatory if there is "AZURE_STORAGE_KEY")
"AZURE_STORAGE_KEY"Storage account key string, must be protected globally as UTF8 string (paramBinary, optional)
Returns:
true if all credentials is valid, false otherwise