~james/core

core/api/org_tangled/keysshKey.go -rw-r--r-- 866 bytes
452f17b7 — james chore(import): snapshot james.dad.town/core at f70c71c7696a 14 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package org_tangled

// schema: org.tangled.key.sshKey

import (
	"github.com/bluesky-social/indigo/lex/util"
)

const (
	KeySshKeyNSID = "org.tangled.key.sshKey"
)

func init() {
	util.RegisterType("org.tangled.key.sshKey", &KeySshKey{})
} //
// RECORDTYPE: KeySshKey
type KeySshKey struct {
	LexiconTypeID string `json:"$type,const=org.tangled.key.sshKey" cborgen:"$type,const=org.tangled.key.sshKey"`
	CreatedAt     string `json:"createdAt" cborgen:"createdAt"`
	// name: human-readable name for this key
	Name string `json:"name" cborgen:"name"`
	// publicKey: public key in OpenSSH authorized_keys format
	PublicKey string `json:"publicKey" cborgen:"publicKey"`
	// usages: default to `["auth", "sign"]` when omitted.
	Usages []string `json:"usages,omitempty" cborgen:"usages,omitempty"`
}