Document the credentials API.