resolve

Returns credentials for the reference, or null when none are needed/available.