Creating An Encrypted Project (Cli) - Oracle ZFS Storage Appliance Administration Manual

Hide thumbs Also See for ZFS Storage Appliance:
Table of Contents

Advertisement

6.
Select a keyname.
7.
Save the project.
Related Topics
"Encryption Properties" on page 581
"Managing Encryption Keys" on page 582
"Changing a Project Encryption Key (BUI)" on page 568

Creating an Encrypted Project (CLI)

Shares (filesystems and LUNs) can be encrypted individually or they can be encrypted at the
project level because shares inherit project properties. The following example shows how to
encrypt all shares within a project by encrypting the project itself.
To use encryption, you must configure it first; see
Before You Begin
To create an encrypted project, use the following CLI commands:
1.
hostname:shares> project myproject
hostname:shares myproject (uncommitted)> set encryption=aes-128-ccm
hostname:shares myproject (uncommitted)> set keystore=LOCAL
hostname:shares myproject (uncommitted)> set keyname=MyFirstKey
hostname:shares myproject (uncommitted)> commit
hostname:shares>
All shares created under this project are automatically encrypted with AES-128 CCM using the
key named "MyFirstKey" from the LOCAL keystore.
To create a filesystem in the new project and show that it inherited the
2.
encryption properties, use the following CLI commands:
hostname:shares> select myproject
hostname:shares myproject> filesystem f1
hostname:shares myproject/f1 (uncommitted)> commit
hostname:shares myproject> select f1
hostname:shares myproject/f1> get encryption keystore keyname keystatus
encryption = aes-128-ccm (uncommitted)
keystore = LOCAL (uncommitted)
keyname = MyFirstKey (uncommitted)
encryption = aes-128-ccm (inherited)
keystore = LOCAL (inherited)
keyname = MyFirstKey (inherited)
Creating an Encrypted Project (CLI)
"Data Encryption" on page
559.
Data Encryption
567

Advertisement

Table of Contents
loading

Table of Contents