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>
This commit is contained in:
1 parent
eba7c97de6
commit
6daed8d388
5 files changed
+149
-24
No files matched your search
@@ -0,0 +1,12 @@
|
||||
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>
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user