{{ define "admin-registration-content" }} {{ template "nav-sidebar" . }}
{{ template "navbar-user" . }}

Tokens

This page list all of the registration tokens. A registration token enables a client to authenticate itself and request a new authentication token from the Spokes server and configure a new tunnel.

{{ range $key := .Keys }} {{ end }}
Name Active Updated Key
{{ if len $key.Name }}{{ $key.Name }}{{ else }}--{{ end }}
{{ if $key.Active }}
{{ else }} {{ end }}
{{ $key.Modified.Format "15:04" }}
{{ $key.Modified.Format "Jan 2, 2006" }}
{{ $key.KeySnippetN 24 }}... {{ $key.Value }}
Copy
{{ template "menu-toggle" . }}
{{ end }} {{ define "admin-token-create-content" }} {{ template "nav-sidebar" . }}
{{ template "navbar-user" . }}

{{ if .Key }}Edit Token{{ else }}Create Token{{ end }}

{{ if .Key }}{{ end }} {{ if len (.Error "name") }}
{{ .Error "name" }}
{{ end }}

{{ template "menu-toggle" . }}
{{ end }}