1
Log in to the CryptoHub under dual control using your administrator identities.
2
Select the SAP HANA service and select [ Deploy ].
3
Configure the Service Setup settings:
- Service Name: The name of the service. Leave as default.
- Service Category: The category the service falls under. Leave as default.
- Select [ Next ].
4
Configure the Access Control settings:
- Authorized Resources: The role you are logged in with has access to the service by default.
- Add Additional Resources: Optional.
- Select [ Next ].
5
Configure the Path Rules that determine which files are encrypted and which identities may access them.
- Select [ Add Path Rule ].
- For Users, enter the SAP HANA administrator user (for example,
<sid>adm). - For Groups, enter the SAP HANA group (
sapsys). - For the path, use Advanced Setup with the
**wildcard to recursively match every file under the protected directory. - Select [ Add ].
6
Select [ Deploy ].
Choose the path rule for the data directory
Protecting the SAP HANA data directory is the primary purpose of this integration, so add a path rule that covers it. For a data directory whose backing store is/enc/hana-data, add a path rule with:
- Path:
/enc/hana-data/** - Groups:
sapsys - Users:
<sid>adm
/enc/hana-log/** and /enc/hana-backup/** — each scoped to the same sapsys group and <sid>adm user.
Note the correspondence between the mount and its backing directory. SAP HANA reads and writes through the mount (for example,
/hana/shared/data), while the path rule and the ciphertext at rest live in the backing directory (for example, /enc/hana-data). You configure this pairing when you mount the encrypted filesystem.
