wso2 / wso2/open-cloud-datacenter

[Task]: Tenant-initiated credential rotation

Open
#299 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area/Operators Type/Task
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
  1. Setting the annotation registry.opencloud.wso2.com/rotate to a new value mints a new robot and writes it into the Secret.
  2. The previous robot stays valid for a grace period default 7 days. So copies can be updated before anything breaks.
  3. status shows when the old credential will be revoked.
  4. Revocation happens without a further reconcile trigger.
  5. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.