Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Default the permissions on the settings.yaml file to 0600 #578

Closed
brauhaus-grafana opened this issue Feb 3, 2025 · 0 comments · Fixed by #579
Closed

Comments

@brauhaus-grafana
Copy link
Contributor

brauhaus-grafana commented Feb 3, 2025

Feature Request

Please make the default permissions on the settings.yaml file 0600. This doesn't add a lot of security, but at least makes it slightly harder to grab passwords or tokens. Better would be to store them as encrypted, of course, but 0600 is a good start.

See viper.SetConfigPermissions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants