add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -0,0 +1,24 @@
# systemd-creds
> 列出、显示、加密和解密服务凭据。
> 更多信息:<https://www.freedesktop.org/software/systemd/man/systemd-creds.html>。
- 加密文件并设置特定名称:
`systemd-creds encrypt --name={{name}} {{path/to/input_file}} {{path/to/output}}`
- 再次解密文件:
`systemd-creds decrypt {{path/to/input_file}} {{path/to/output_file}}`
-`stdin` 加密文本:
`echo -n {{text}} | systemd-creds encrypt --name={{name}} - {{path/to/output}}`
- 加密文本并将其附加到服务文件中(凭据将在 `$CREDENTIALS_DIRECTORY` 中可用):
`echo -n {{text}} | systemd-creds encrypt --name={{name}} --pretty - - >> {{service}}`
- 创建一个仅在给定时间戳之前有效的凭据:
`systemd-creds encrypt --not-after="{{timestamp}}" {{path/to/input_file}} {{path/to/output_file}}`