You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this something thats likely to be done at some point ? I'm seeing more modules expecting sensitive strings and TBH its a PITA having to add lookup_options for each piece of hieradata.
So I'm learning to use secrets and I stumbled upon https://blog.example42.com/2019/04/04/puppet_sensitive_data/ and https://puppet.com/blog/my-journey-securing-sensitive-data-puppet-code/. Both blogs get into error when they declare class parameter as
Sensitive[String] $foo
and receiveString
, and solve it by manually converting data types for each value that's deemed sensitive in YAML like this:Couldn't hiera-eyaml do it automatically for all encrypted types?
I guess to not break backward compatibility this would have to be an opt-in in
hiear.yaml
, e.g.:The text was updated successfully, but these errors were encountered: