Creates a ResourceCredentials from the specified type and name.
Name of the credential.
An instance of a ResourceCredentials