Go to main content
Oracle® ZFS Storage Appliance Administration Guide, Release OS8.7.0

Exit Print View

Updated: July 2017
 
 

Changing a Project Encryption Key (CLI)

Changing a project encryption key changes the key for shares that inherit the key from the project. You can change the encryption key associated share at any time, even while it is in use by client systems. To change the key for a project, use the following procedure:

  1. To see a project's current key, navigate to that project and enter get keyname.
    hostname:shares> select default
    hostname:shares default> get keyname
                          keyname = MyFirstKey
  2. To change the key used for the project and all associated shares, enter set keyname= followed by the new keyname, and then enter commit.
    hostname:shares default> set keyname=MySecondKey
                          keyname = MySecondKey (uncommitted)
    hostname: shares default> commit.
  3. Verify the new project key by entering get keyname.
    shares default> get keyname
                          keyname = MySecondKey

Related Topics