Skip to content

Commit

Permalink
Merge pull request #9 from whywishfree/main
Browse files Browse the repository at this point in the history
refine readme
  • Loading branch information
DahuK authored Jan 9, 2025
2 parents d9ab632 + 5ac08ee commit a34cb55
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ go.work
# Ide file
.idea/


dist/

bin/notation-alibabacloud.secretmanager.plugin
8 changes: 4 additions & 4 deletions README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ notation sign --id <keyId> --plugin alibabacloud.secretmanager.plugin <myRegist



| 参数 | 说明 |
| ------------- | ------------------------------------------------------------ |
| id | 指定的阿里云KMS实例ID |
| plugin-config | 插件自定义参数,支持如下配置:<br /> output_cert_dir:签名过程中可以使用该参数基于指定的KMS密钥签发对应的x509验签证书,并以文件形式输出到参数指定文件目录下<br /> ca_certs:使用自签并导入KMS实例的密钥加签时,如果您同时使用密钥签发了X509证书,可以使用该参数指定自签证书对应的文件路径 |
| 参数 | 说明 |
| ------------- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| id | 指定的阿里云KMS实例ID |
| plugin-config | 插件自定义参数,支持如下配置:<br /> **output_cert_dir**:签名过程中可以使用该参数基于指定的KMS密钥签发对应的x509验签证书,并以文件形式输出到参数指定文件目录下<br /> **ca_certs**:使用自签并导入KMS实例的密钥加签时,如果您同时使用密钥签发了X509证书,可以使用该参数指定自签证书对应的文件路径 |



Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ notation sign --id <keyId> --plugin alibabacloud.secretmanager.plugin <myRegist
```


| Parameter | Description |
| ------------- | ------------------------------------------------------------ |
| id | Specificed Alibaba Cloud KMS Instance ID |
| plugin-config | Plugin customized parameters, support the following configurations: <br /> output_cert_dir:User can use this parameter to issue hte corresponding x509 certificate based on the specified KMS key during the signing process, and output it as a file to the directory specified in this parameter. <br /> ca_certs:When signing with the imported self-signed key meterial, if you also self issued an x509 certificate with the key, you can use the parameter to specify the filepath of the self-signed certificate. |
| Parameter | Description |
| ------------- |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| id | Specificed Alibaba Cloud KMS Instance ID |
| plugin-config | Plugin customized parameters, support the following configurations: <br /> **output_cert_dir**:User can use this parameter to issue the corresponding x509 certificate based on the specified KMS key during the signing process, and output it as a file to the directory specified in this parameter. <br /> **ca_certs**:When signing with the imported self-signed key meterial, if you also self issued an x509 certificate with the key, you can use the parameter to specify the filepath of the self-signed certificate. |



Expand Down

0 comments on commit a34cb55

Please sign in to comment.