Go to main content

Oracle® ZFS Storage Appliance Administration Guide, Release OS8.7.x

Exit Print View

Updated: September 2017
 
 

Changing a Share Encryption Key (CLI)

You can change the encryption key associated share at any time, even while it is in use by client systems. To change a key for a share without changing the parent project, use the following procedure:

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

Related Topics