CLOUD-98 validation on template and credential
CLOUD-98 validation on template and credential