Skip to content

Commit 1f8eb50

Browse files
authored
Merge pull request #38114 from gaogao101/work44
[zh-cn] Updated encrypt-data.md
2 parents 672dfd9 + ba1e0ab commit 1f8eb50

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

content/zh-cn/docs/tasks/administer-cluster/encrypt-data.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,11 +350,15 @@ program to retrieve the contents of your Secret.
350350

351351
<!--
352352
1. Verify the stored Secret is prefixed with `k8s:enc:aescbc:v1:` which indicates
353-
the `aescbc` provider has encrypted the resulting data.
353+
the `aescbc` provider has encrypted the resulting data. Confirm that the key name shown in `etcd`
354+
matches the key name specified in the `EncryptionConfiguration` mentioned above. In this example,
355+
you can see that the encryption key named `key1` is used in `etcd` and in `EncryptionConfiguration`.
354356
355357
1. Verify the Secret is correctly decrypted when retrieved via the API:
356358
-->
357359
3. 验证存储的密钥前缀是否为 `k8s:enc:aescbc:v1:`,这表明 `aescbc` provider 已加密结果数据。
360+
确认 `etcd` 中显示的密钥名称和上述 `EncryptionConfiguration` 中指定的密钥名称一致。
361+
在此例中,你可以看到在 `etcd``EncryptionConfiguration` 中使用了名为 `key1` 的加密密钥。
358362

359363
4. 通过 API 检索,验证 Secret 是否被正确解密:
360364

0 commit comments

Comments
 (0)