

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

# EBS Direct 的加密结果 APIs
<a name="ebsapis-using-encryption"></a>

使用启动新快照时 [ StartSnapshot](https://docs.amazonaws.cn/ebs/latest/APIReference/API_StartSnapshot.html)，加密状态取决于您为**已加密**、和指定的值 **KmsKeyArn**ParentSnapshotId****，以及您的 Amazon 账户是否在[默认情况下启用了加密](encryption-by-default.md)功能。

**注意**  
您可能需要额外的 IAM 权限才能直接使用 APIs 带加密功能的 EBS。有关更多信息，请参阅 [使用权限 Amazon KMS keys](ebsapi-permissions.md#ebsapi-kms-permissions)。
如果您的 Amazon 账户默认启用 Amazon EBS 加密，则无法创建未加密的快照。
如果您的 Amazon 账户默认启用 Amazon EBS 加密，则无法使用未加密的父快照启动新快照。您必须首先通过复制父快照来对其进行加密。有关更多信息，请参阅 [复制 Amazon EBS 快照](ebs-copy-snapshot.md)。

**Topics**
+ [

## 加密结果：未加密父快照
](#ebs-direct-api-unencr-outcomes-parent)
+ [

## 加密结果：已加密父快照
](#ebs-direct-api-encr-outcomes-parent)
+ [

## 加密结果：无父快照
](#ebs-direct-api-encr-outcomes-noparent)

## 加密结果：未加密父快照
<a name="ebs-direct-api-unencr-outcomes-parent"></a>

下表描述了指定未加密父快照时每种可能的设置组合的加密结果。

[\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/ebs/latest/userguide/ebsapis-using-encryption.html)

## 加密结果：已加密父快照
<a name="ebs-direct-api-encr-outcomes-parent"></a>

下表描述了指定已加密父快照时每种可能的设置组合的加密结果。

[\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/ebs/latest/userguide/ebsapis-using-encryption.html)

## 加密结果：无父快照
<a name="ebs-direct-api-encr-outcomes-noparent"></a>

下表描述了未使用父快照时每种可能的设置组合的加密结果。

[\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/ebs/latest/userguide/ebsapis-using-encryption.html)

\$1 此默认 KMS 密钥可以是客户托管密钥，也可以是用于 Amazon EBS 加密的默认 Amazon 托管 KMS 密钥。