certimate-go / certimate-go/certimate

[Feature] 支持在新证书部署成功后,对旧证书进行处理

Open
#1,302 8 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
9.3k
Forks
898
Avg merge
4d 5h
Merged PRs (30d)
8

Description

### Description / 功能描述

以腾讯云为例(其它平台类似),存在对应API:
关闭到期通知 https://cloud.tencent.com/document/product/400/82277
删除证书 https://cloud.tencent.com/document/product/400/41675

可在“部署”模块新增一个”腾讯云 - 旧证书处理“的提供商,内供用户选择是删除还是仅忽略提醒。
插入该提供商到工作流末尾,读取同工作流上一次成功上传证书输出的id,执行处理。
如果不需要处理旧证书的用户则无需向工作流添加此步骤。

### Motivation / 请求动机

同一个工作流,成功上传和部署新证书后,旧的证书就没有用了,但还是会收到平台的提醒即将到期,所以希望可以提供选项关闭提醒,甚至删除旧证书

### Miscellaneous / 其他

_No response_

### Contribution / 贡献代码

- [ ] I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR!

Contributor guide

Open the contributing guide

Research direction

Start by tracing the deployment providers and workflow handling for the previous successful certificate upload output. Review the Tencent Cloud APIs linked in the issue and determine how the final workflow step can choose between disabling expiration reminders and deleting the old certificate. Done means the provider processes the referenced certificate ID only when this optional step is configured.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.