Credentials are required for the collector to connect to a source. Since they are often shared across many sources, they are managed separately from sources and referenced by the source using the id of the credential.