certificates/sshutil/testdata/github.tpl

10 lines
283 B
Smarty
Raw Normal View History

{
"type": "{{ .Type }}",
"keyId": "{{ .KeyID }}",
"principals": {{ toJson .Principals }},
{{- if .Insecure.User.username }}
"extensions": {{ set .Extensions "login@github.com" .Insecure.User.username | toJson }}
{{- else }}
"extensions": {{ toJson .Extensions }}
{{- end }}
}