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

Why use YB encryption at rest over filesystem level encryption? #6591

Closed
jaki opened this issue Dec 9, 2020 · 1 comment · Fixed by #13267
Closed

Why use YB encryption at rest over filesystem level encryption? #6591

jaki opened this issue Dec 9, 2020 · 1 comment · Fixed by #13267
Assignees
Labels
area/documentation Documentation needed kind/question This is a question

Comments

@jaki
Copy link
Contributor

jaki commented Dec 9, 2020

This is more of a question, but the answers can go in the documentation.

Why use Yugabyte built-in encryption at rest when you can do encryption at the filesystem level or device hardware level?

possible answer: because the data will be plaintext readable by unix users

  • with permissions restricting the data dir, only the unix user that creates the cluster should be able to read the data, and that unix user would have full authentication capabilities to access the DB anyway if it were encrypted at rest

possible answer: because of KMS integration and key rotation

  • that might be possible with LUKS filesystem encryption as well (not too sure about this one)

possible answer: because we don't want to encrypt other data

  • you can partition your disk or use multiple disks
@jaki jaki added kind/question This is a question area/documentation Documentation needed labels Dec 9, 2020
@kmuthukk
Copy link
Collaborator

kmuthukk commented Dec 9, 2020

When done at the database layer (the feature, and associated capabilities like key rotation) are cluster wide. When done at the filesystem level, it becomes the operations team's burden to orchestrate things manually/externally on every node. And, the degree to which filesystems or external encryption mechanisms support online operations -- i.e. when the database processes are still running -- can vary too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Documentation needed kind/question This is a question
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants