4
0

github.tpl 283 B

12345678910
  1. {
  2. "type": "{{ .Type }}",
  3. "keyId": "{{ .KeyID }}",
  4. "principals": {{ toJson .Principals }},
  5. {{- if .Insecure.User.username }}
  6. "extensions": {{ set .Extensions "login@github.com" .Insecure.User.username | toJson }}
  7. {{- else }}
  8. "extensions": {{ toJson .Extensions }}
  9. {{- end }}
  10. }