Skip to content

4. Terminal UI Walkthrough

Stage: Alpha Status: In Progress

irtop is IronRoot Top: a read-only terminal UI for operators.

Prerequisites

Start irtop

irtop --server http://localhost:8443

With profiles:

irtop --profile local

Layout

The UI shows:

  • active profile and server endpoint.
  • loading, loaded, empty, and error states.
  • health summaries.
  • CA hierarchy.
  • certificate and token activity.
  • RBAC/access state.
  • telemetry and audit signals where available.

Keyboard Navigation

Key Action
1 Overview
2 Certificates
3 Enrollments
4 Tokens
5 CA Health and hierarchy
[ / ] Switch profile when multiple profiles exist
r Refresh data
q Quit

CA Hierarchy View

flowchart TD
  RootProd[production Root CA] --> IntWeb[web Intermediate]
  RootProd --> IntPlatform[platform Intermediate]
  RootLab[lab Root CA] --> IntLab[lab Intermediate]
  IntWeb --> Certs[active and revoked certificates]
  IntWeb --> Roles[roles and token policies]

The CA Health view displays Root CAs, Intermediate CA chains, active and revoked certificate counts, RBAC roles, token policy counts, owner/namespace metadata, expiration health, and renewal/approval state.

Expected Outcome

You can open irtop, identify the active profile, switch profiles, and inspect the CA hierarchy without restarting the process.

Validation

irtop --server http://localhost:8443

Then press 5. You should see at least one Root CA and one Intermediate CA in the local environment.

Troubleshooting

Symptom Check
Empty screen Wait for the loading state to finish; if it fails, the UI should show an error state.
Profile missing Check ~/.ironroot/config uses profiles: with named entries.
Wrong profile selected Use --profile <name> or switch with [ and ].
CA view empty Verify /v1/status/ca-hierarchy returns data from the server.

Next Step

Continue to Certificate Workflows.