Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

mysql password shown in plain text in logs #14

Open
jottekop opened this issue Jan 31, 2017 · 0 comments
Open

mysql password shown in plain text in logs #14

jottekop opened this issue Jan 31, 2017 · 0 comments

Comments

@jottekop
Copy link

When I try to make a couple of tables with the cookbook. I see that the for a password in the tables content it shows in plain text.
Can you add the 'sensitive true' parameter in the file resources in the 'libraries/tables.rb'

Thanks

recipe.file params['file'] do
        content content
        user params['user']
        group params['group']
        mode params['mode']
        sensitive true
        notifies :run, "execute[#{execute_name}]"
end

and

recipe.file params['file'] do
        content config.content
        user params['user']
        group params['group']
        mode params['mode']
        sensitive true
end
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant