forked from TrueCloudLab/certificates
10 lines
283 B
Smarty
10 lines
283 B
Smarty
|
{
|
||
|
"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 }}
|
||
|
}
|