@Inject
 protected AzureStorageSettingsFilter(Settings settings, SettingsFilter settingsFilter) {
   super(settings);
   // Cloud storage API settings needed to be hidden
   settingsFilter.addFilter(ACCOUNT);
   settingsFilter.addFilter(KEY);
 }
 @Inject
 public AwsEc2ServiceImpl(
     Settings settings,
     SettingsFilter settingsFilter,
     NetworkService networkService,
     DiscoveryNodeService discoveryNodeService) {
   super(settings);
   // Filter global settings
   settingsFilter.addFilter(CLOUD_AWS.KEY);
   settingsFilter.addFilter(CLOUD_AWS.SECRET);
   settingsFilter.addFilter(CLOUD_EC2.KEY);
   settingsFilter.addFilter(CLOUD_EC2.SECRET);
   // add specific ec2 name resolver
   networkService.addCustomNameResolver(new Ec2NameResolver(settings));
   discoveryNodeService.addCustomAttributeProvider(new Ec2CustomNodeAttributes(settings));
 }
  @Inject
  public AwsEc2Service(Settings settings, SettingsFilter settingsFilter) {
    super(settings);

    settingsFilter.addFilter(new AwsSettingsFilter());
  }