Support Questions

Find answers, ask questions, and share your expertise

How to store password in Apache phoenix HBase table.

avatar
Contributor

Hi All,

I need to store username and password in Phoenix HBase and this table needs to be encrypted.

I want to ask, is there any example or any materials I can read?

Bin Ye

1 ACCEPTED SOLUTION

avatar
Super Guru

The best way is to run HBase in an HDFS encryption zone. This ensures that the HBase WALs and store files are all encrypted at rest. Make sure that you are also enabling wire-encryption (auth-conf quality of protection in HBase's SASL configuration) if data-in-motion also needs to be encrypted.

https://hbase.apache.org/book.html#hbase.encryption.server

https://hortonworks.com/blog/new-in-hdp-2-3-enterprise-grade-hdfs-data-at-rest-encryption/

View solution in original post

2 REPLIES 2

avatar
Super Guru

The best way is to run HBase in an HDFS encryption zone. This ensures that the HBase WALs and store files are all encrypted at rest. Make sure that you are also enabling wire-encryption (auth-conf quality of protection in HBase's SASL configuration) if data-in-motion also needs to be encrypted.

https://hbase.apache.org/book.html#hbase.encryption.server

https://hortonworks.com/blog/new-in-hdp-2-3-enterprise-grade-hdfs-data-at-rest-encryption/

avatar
Contributor

Hi Josh,

Thanks for your information.

Bin Ye