Skip to content

[auto-rotation feature] feat: key auto-rotation UI, CLI & WASM layer#973

Closed
Manuthor wants to merge 1 commit into
feat/key-rotation-notificationsfrom
feat/key-rotation-ui
Closed

[auto-rotation feature] feat: key auto-rotation UI, CLI & WASM layer#973
Manuthor wants to merge 1 commit into
feat/key-rotation-notificationsfrom
feat/key-rotation-ui

Conversation

@Manuthor

@Manuthor Manuthor commented May 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Mirror rotation features in the Web UI, WASM bindings, and ckms CLI.

This is PR 4 of 4 in the key auto-rotation feature stack (depends on PR 3: #971):

develop
  ← PR 1  docs/key-autorotation-spec          (#968)
  ← PR 2  feat/key-rotation-scheduler          (#970)
  ← PR 3  feat/key-rotation-notifications      (#971)
  ← PR 4  feat/key-rotation-ui                 ← this PR

What's included

CLI (crate/clients/clap/)

  • set-rotation-policy subcommand under ckms sym keys
  • get-rotation-policy subcommand under ckms sym keys

WASM (crate/clients/wasm/)

  • ReKey, rotation policy request/response bindings in cosmian_kms_client_wasm

Web UI (ui/src/)

  • Re-Key page under Symmetric Keys
  • Set Rotation Policy page under Symmetric Keys
  • Get Rotation Policy page under Symmetric Keys
  • NotificationsBell component with unread count badge and drawer

Server fix

  • GetAttributes now returns rotation-policy attributes (rotate_interval,
    rotate_offset, rotate_name, rotate_date, rotate_generation,
    rotate_latest) which were previously ignored because the Tag enum lacks
    dedicated variants

E2E Tests

  • Playwright test suite for the full key rotation flow (7 tests)

Breaking changes

None.

@Manuthor Manuthor changed the title feat: key auto-rotation UI, CLI & WASM layer [auto-rotation feature] feat: key auto-rotation UI, CLI & WASM layer May 28, 2026
@Manuthor Manuthor force-pushed the feat/key-rotation-notifications branch from 5f074fa to 4b5820b Compare May 29, 2026 14:03
- CLI: add set-rotation-policy and get-rotation-policy subcommands
- WASM: add ReKey, rotation policy request/response bindings
- UI: add Re-Key, Set/Get Rotation Policy pages under Symmetric Keys
- UI: add NotificationsBell component with unread count and drawer
- E2E: add Playwright tests for key rotation flow
- Fix: GetAttributes now returns rotation-policy attributes
@Manuthor Manuthor force-pushed the feat/key-rotation-ui branch from 0e7a5bd to f275d71 Compare May 29, 2026 14:04
@Manuthor

Manuthor commented Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by the new PR 2 on branch feat/key-rotation-ckms-ui. The scope has been expanded (all key types, generic components, ReCertify operation, expanded E2E tests) and renumbered as PR 2 of 4 in the feature stack.

@Manuthor Manuthor closed this Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant