File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
content/zh-cn/docs/tasks/administer-cluster Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -350,11 +350,15 @@ program to retrieve the contents of your Secret.
350
350
351
351
<!--
352
352
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`.
354
356
355
357
1. Verify the Secret is correctly decrypted when retrieved via the API:
356
358
-->
357
359
3 . 验证存储的密钥前缀是否为 ` k8s:enc:aescbc:v1: ` ,这表明 ` aescbc ` provider 已加密结果数据。
360
+ 确认 ` etcd ` 中显示的密钥名称和上述 ` EncryptionConfiguration ` 中指定的密钥名称一致。
361
+ 在此例中,你可以看到在 ` etcd ` 和 ` EncryptionConfiguration ` 中使用了名为 ` key1 ` 的加密密钥。
358
362
359
363
4 . 通过 API 检索,验证 Secret 是否被正确解密:
360
364
You can’t perform that action at this time.
0 commit comments