Do not allow delete credential that is already used by run-tamplate
Do not allow delete credential that is already used by run-tamplate