puppet-redis icon indicating copy to clipboard operation
puppet-redis copied to clipboard

Sensitive Data

Open cocker-cc opened this issue 9 months ago • 0 comments

To not reveal sensitive Data

  • either wrap the rendered Template in manifests/sentinel.pp, like
    file { $config_file_orig:
      ensure  => file,
      owner   => $service_user,
      group   => $service_group,
      mode    => $config_file_mode,
      content => Sensitive(template($conf_template)),
    }
    
  • or use EPP instead of ERB, as EPP does handle sensitive Data natively

cocker-cc avatar May 10 '24 12:05 cocker-cc