

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 在 Amazon EMR WAL 中使用安全配置
<a name="emr-hbase-wal-security"></a>

Amazon EMR 会自动加密集群和 Amazon EMR WAL 服务之间的传输中数据，以及 Amazon EMR WAL 中的静态数据。有关更多信息，请参阅 [Amazon EMR WAL 的静态加密](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-data-encryption-options.html#emr-encryption-WAL)。您还可以使用安全配置从 AWS Key Management Service (KMS) 服务中获取自己的密钥，并对存储在 Amazon EMR WAL 中的数据进行加密。

在创建集群时，使用以下方法之一选择安全配置：

------
#### [ Console ]

在中 AWS 管理控制台，在 “**安全配置” 和 EC2 key pair 下指定配置**。

![\[Security configuration section with search bar, refresh button, and options to browse or create configuration.\]](http://docs.aws.amazon.com/zh_cn/emr/latest/ReleaseGuide/images/wal-configure-security.png)


------
#### [ CLI ]

使用 [create-clust](https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html) er 命令时，请从中设置`--security-configuration`参数。 AWS CLI

------

有关更多信息，请参阅《Amazon EMR 管理指南》**中的 [Amazon EMR WAL 的静态加密](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-data-encryption-options.html#emr-encryption-WAL)和[使用安全配置设置集群安全性](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-security-configurations.html)。

有关 WAL 的更多安全相关信息，请参阅[使用服务相关角色预写日志](https://docs.aws.amazon.com/emr/latest/ManagementGuide/using-service-linked-roles-wal.html)。