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

Backport of Vault 3992 ToB Config and Plugins Permissions into release/1.10.x #14881

Merged

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #14817 to be assessed for backporting due to the inclusion of the label backport/1.10.x.

The below text is copied from the body of the original PR.


Jira : https://hashicorp.atlassian.net/browse/VAULT-3992
Approved PR on Ent: https://github.com/hashicorp/vault-enterprise/pull/2524

Check the permissions (no write permissions for others or groups)and user (owner must be the vault process owner)of the config dir, config file, plugin directory and plugin binaries

This check is done while loading config (check config dir (and files in it ) / config file depending on the input to -config and plugin directory mentioned in the config file)
During plugin register and plugin enable, check plugin dir and plugin binary
This behavior can be disabled using an env variable VAULT_DISABLE_FILE_PERMISSIONS_CHECK (true to disable the check)

Can set uid for plugin files/directory by specifying -plugin_file_uid in config file
Can set permissions for plugin files/directory by specifying -plugin_file_permissions in config file

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/vault3992Plugins/generally-modern-tuna branch from 67d52ca to 85a1a54 Compare April 4, 2022 16:46
@vercel vercel bot temporarily deployed to Preview – vault-storybook April 4, 2022 16:46 Inactive
@vercel vercel bot temporarily deployed to Preview – vault April 4, 2022 16:46 Inactive
@vercel vercel bot temporarily deployed to Preview – vault April 4, 2022 17:49 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook April 4, 2022 17:49 Inactive
@akshya96 akshya96 merged commit a43b8ee into release/1.10.x Apr 4, 2022
akshya96 added a commit that referenced this pull request Apr 5, 2022
akshya96 added a commit that referenced this pull request Apr 5, 2022
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 this pull request may close these issues.

2 participants