Spec support for loading credentials