summaryrefslogtreecommitdiff
path: root/docs/connector/config-encryption-decryption.md
diff options
context:
space:
mode:
authorwangkuan <[email protected]>2024-02-05 13:56:13 +0800
committerwangkuan <[email protected]>2024-02-05 13:56:13 +0800
commitf55325e4060b98daf10eb005b93178cde4b7bbdb (patch)
treea91b63a2d2d0c4f96f57422fe5af52d50261e4e1 /docs/connector/config-encryption-decryption.md
parentac4f2b52b4b198e7d7db8854a39a7512634cdb3f (diff)
[fix][docs]修改文档中部分启动命令,由--c改为-crelease/1.0.0-release
Diffstat (limited to 'docs/connector/config-encryption-decryption.md')
-rw-r--r--docs/connector/config-encryption-decryption.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/connector/config-encryption-decryption.md b/docs/connector/config-encryption-decryption.md
index 42e459f..af8e2b5 100644
--- a/docs/connector/config-encryption-decryption.md
+++ b/docs/connector/config-encryption-decryption.md
@@ -57,7 +57,7 @@ Next, I'll show how to quickly use groot-stream's own `aes` encryption:
```
2. Using the `encrypt` command to encrypt the configuration file:
```shell
- ${GROOTSTREAM_HOME}/bin/start.sh --c config/inline_to_clickhouse.yaml --encrypt
+ ${GROOTSTREAM_HOME}/bin/start.sh -c config/inline_to_clickhouse.yaml --encrypt
```
3. Then you can see the encrypted configuration file in the terminal:
The clickhouse_sink's connection.user and connection.password has been encrypted. We will using encrypted content replace the original content.
@@ -113,7 +113,7 @@ The clickhouse_sink's connection.user and connection.password has been encrypted
```
4. Of course, you can also decrypt the encrypted configuration file, just execute the following command:
```shell
- ${GROOTSTREAM_HOME}/bin/start.sh --c config/inline_to_clickhouse.yaml --decrypt
+ ${GROOTSTREAM_HOME}/bin/start.sh -c config/inline_to_clickhouse.yaml --decrypt
```
## How to implement user-defined encryption and decryption