공유(파일 시스템 및 LUN)를 개별적으로 암호화하거나, 공유가 프로젝트 등록 정보를 상속하므로 프로젝트 레벨에서 공유를 암호화할 수 있습니다. 다음 예는 프로젝트 자체를 암호화하여 프로젝트 내의 모든 공유를 암호화하는 방법을 보여줍니다. 암호화 등록 정보에 대한 자세한 내용은 Encryption Properties를 참조하십시오.
hostname:shares> project myproject hostname:shares myproject (uncommitted)> set encryption=aes-128-ccm encryption = aes-128-ccm (uncommitted) hostname:shares myproject (uncommitted)> set keystore=LOCAL keystore = LOCAL (uncommitted) hostname:shares myproject (uncommitted)> set keyname=MyFirstKey keyname = MyFirstKey (uncommitted) hostname:shares myproject (uncommitted)> commit hostname:shares>
이 프로젝트에서 만든 모든 공유는 LOCAL 키 저장소에 있는 이름이 "MyFirstKey"인 키를 사용하여 AES-128 CCM으로 자동으로 암호화됩니다.
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 (inherited) keystore = LOCAL (inherited) keyname = MyFirstKey (inherited) keystatus = available hostname:shares myproject/f1> done