From the usage it feels like this would be more naturally represented as a Map from service to credentials.