This is an automated email from the ASF dual-hosted git repository.
navendu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 06149cd03 docs: fix indent in encrypted-storage-fields (#8876)
06149cd03 is described below
commit 06149cd03163a60e8b6fafb04cabb34cf2185b4c
Author: Amisha Kumari <[email protected]>
AuthorDate: Fri Mar 3 12:07:25 2023 +0530
docs: fix indent in encrypted-storage-fields (#8876)
---
docs/en/latest/plugin-develop.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/en/latest/plugin-develop.md b/docs/en/latest/plugin-develop.md
index a7aa4c634..09525c396 100644
--- a/docs/en/latest/plugin-develop.md
+++ b/docs/en/latest/plugin-develop.md
@@ -326,10 +326,10 @@ Enable `data_encryption` in `config.yaml`.
```yaml
apisix:
data_encryption:
- enable: true
- keyring:
- - edd1c9f0985e76a2
- - qeddd145sfvddff4
+ enable: true
+ keyring:
+ - edd1c9f0985e76a2
+ - qeddd145sfvddff4
```
APISIX will try to decrypt the data with keys in the order of the keys in the
keyring (only for parameters declared in `encrypt_fields`). If the decryption
fails, the next key will be tried until the decryption succeeds.