Skip to content

[Feature] SSH Key Rotation Scheduler #4

@umesh-saini

Description

@umesh-saini

🔄 Feature: SSH Key Rotation

Problem

Security best practice recommends rotating SSH keys periodically.
Currently users have to manually regenerate keys and re-upload them to GitHub.

Proposed Solution

Allow users to set a rotation reminder (e.g. every 90 days) per profile.
DevSwitch notifies them when it's time to rotate and can automate the process.

What needs to be done

  • Add a keyRotationInterval field to profile (options: 30/60/90/180 days or never)
  • Store lastKeyGeneratedAt timestamp per profile
  • On app launch, check if any profiles are past their rotation date
  • Show a notification/banner on the home page for due profiles
  • "Rotate Now" button: generate new key → upload to GitHub → remove old key

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions