{{define "configure-keystore.html"}} {{template "base" .}} {{end}} {{define "content"}}
{{if .Loading}}
Downloading YANG schema from device… this takes a moment on first login.
{{template "configure-toolbar" .}}
{{else}} {{if .Error}}
{{.Error}}
{{end}}
{{/* ── Symmetric Keys ─────────────────────────────────────────────── */}}
Symmetric Keys
{{range $i, $k := .SymmetricKeys}} {{end}} {{/* Hidden add-sym-key row */}}
Name Format Value
{{.Format}} {{if .Value}} {{.Value}} {{else}}{{end}} {{if .Value}} {{end}}
Format
Value
{{/* ── Asymmetric Keys ─────────────────────────────────────────────── */}}
Asymmetric Keys
{{range $i, $k := .AsymmetricKeys}} {{end}} {{/* Hidden add-asym-key row */}}
Name Algorithm Certificates
{{.Algorithm}} {{len .Certificates}}
{{/* Editable key material */}}
{{if .PublicKeyPEM}} {{end}}
Private Key
Public Key
{{/* Certificate list */}}
Certificates ({{len .Certificates}})
{{if .Certificates}}
{{range .Certificates}} {{if .PEM}} {{end}} {{end}}
Name
{{if .PEM}} {{else}}{{.Name}}{{end}}
PEM
{{end}} {{/* Add certificate */}}
Cert name
PEM data
{{template "configure-toolbar" .}} {{end}}{{/* end {{else}} — schema ready */}} {{end}}