wso2 / wso2/open-cloud-datacenter
[Task]: Tenant-initiated credential rotation
Nobody has claimed this yet.
- Dominant language
- HCL
- Stars
- 19
- Forks
- 15
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 4
Description
Description
Carried over from #292 where criteria 5 and 6 were deliberately deferred.
Credentials never expire because nothing can refresh a Secret a tenant copied onto another cluster. That is the right default and it leaves no way to respond to a leak. Today the only remedy is deleting the Registry, which destroys the images too.
Acceptance criteria
- Setting the annotation registry.opencloud.wso2.com/rotate to a new value mints a new robot and writes it into the Secret.
- The previous robot stays valid for a grace period default 7 days. So copies can be updated before anything breaks.
- status shows when the old credential will be revoked.
- Revocation happens without a further reconcile trigger.
- Rotation and revocation each emit an Event.
Verification
Annotate confirm the Secret changed and both credentials work. After the grace period the old one is refused and the new one still works.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Registry reconcile path and the Secret handling for robot credentials. Trace how status and Events are currently updated, then verify annotation-driven rotation, grace-period revocation without another reconcile trigger, and both credentials during the grace period.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes
- Domain
- infrastructure, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100