We should be able to validate credentials id during Pipeline validation similar to what we do with tools.
Some work was done on this, but it was not completed.