You can enable or disable data at rest encryption at the volume level using the Control System, CLI, and REST API if encryption of data at rest is enabled at the cluster level. If you installed using the Installer and selected the Enable DARE option, the cluster is automatically enabled for data at rest encryption during installation. If you are upgrading or if you did not enable data at rest encryption at the time of installation, you can enable encryption of data at rest at the cluster level if the cluster is a secure cluster. See Enabling Data at Rest Encryption at the Cluster Level from the Command-Line below for more information.
If encryption is enabled at the cluster level, data at rest encryption is also
enabled at the volume level by default through the
mapr.volume.dare.default configuration parameter. If you do not
wish to encrypt data at rest in a volume, you can disable encryption when you create
a volume; you cannot modify data at rest encryption setting on a volume after the
volume is created. See Enabling or Disabling Data at Rest Encryption at the Volume Level Using the Control System or Enabling or Disabling Data at Rest Encryption at the Volume Level Using the CLI and REST API below for more information.
Standard volumes inherit the data at rest encryption setting from a volume by default
if the inherit property is specified. If you create a mirror volume
for a (source) volume enabled for data at rest encryption, the mirror volume:
true for dare property when creating the
mirror volume.This section describes how to enable data at rest encryption at the cluster and volume levels.
If this is a new installation, no additional steps are needed. You have enabled data at rest encryption at the cluster level and, by default, all new volumes are enabled for data at rest encryption. You can, however, still create volumes that are not enabled for encryption of data at rest. See Enabling or Disabling Data at Rest Encryption at the Volume Level Using the Control System or Enabling or Disabling Data at Rest Encryption at the Volume Level Using the CLI and REST API for more information.
To enable or disable data-at-rest encryption for a new volume using the Control System:
dare parameter to one of the
following when you create the volume:true to enable data-at-rest encryption.
maprcli volume create -name <volName> -path <volMountPath> [-dare true]false to disable data-at-rest encryption.
maprcli volume create -name <volName> -path <volMountPath> -dare falsedare parameter to one of the following when you
create the volume:true to enable data-at-rest encryption.
curl -k -X POST 'https://abc.sj.us:8443/rest/volume/create?name=<volName>&path=<volMountPath>[&dare=true]' --user mapr:maprfalse to disable data-at-rest encryption.
curl -k -X POST 'https://abc.sj.us:8443/rest/volume/create?name=<volName>&path=<volMountPath>&dare=false' --user mapr:maprvolume create for
more information.