Files
envbao-admin/src/features/secrets/EngineView.tsx
T
mattandClaude Sonnet 5.5 6daed8d388 Secrets: list all mounts and group dynamic engines by type
Adds listMounts and an engine registry (database, aws, ssh, generic
fallback). The Secrets page groups mounts by engine; KV v2 keeps the
path browser and dynamic mounts get a placeholder EngineView.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 13:20:40 +00:00

13 lines
430 B
TypeScript

import { engineFor } from '../../api/engines/registry'
import type { Mount } from '../../api/secrets'
/** Roles / Config / Leases for a dynamic secrets engine. Filled in by later phases. */
export function EngineView({ mount }: { mount: Mount }) {
const engine = engineFor(mount.type)
return (
<p className="secret-placeholder">
{engine.label} engine at {mount.path}: role management is coming soon.
</p>
)
}