in sdk/PowerBI.Api/Extensions/Models/Credentials/KeyCredentials.cs [18:26]
public KeyCredentials(string key)
{
if (string.IsNullOrEmpty(key))
{
throw new ValidationException(ValidationRules.CannotBeNull, KEY);
}
this.CredentialData[KEY] = key;
}