diff options
Diffstat (limited to 'vendor/go.step.sm/linkedca/config.pb.go')
| -rw-r--r-- | vendor/go.step.sm/linkedca/config.pb.go | 2222 |
1 files changed, 0 insertions, 2222 deletions
diff --git a/vendor/go.step.sm/linkedca/config.pb.go b/vendor/go.step.sm/linkedca/config.pb.go deleted file mode 100644 index 5513878..0000000 --- a/vendor/go.step.sm/linkedca/config.pb.go +++ /dev/null @@ -1,2222 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.31.0 -// protoc v4.24.3 -// source: linkedca/config.proto - -package linkedca - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - structpb "google.golang.org/protobuf/types/known/structpb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type Authority_Type int32 - -const ( - Authority_DEFAULT Authority_Type = 0 - Authority_SOFTCAS Authority_Type = 1 - Authority_CLOUDCAS Authority_Type = 2 - Authority_STEPCAS Authority_Type = 3 -) - -// Enum value maps for Authority_Type. -var ( - Authority_Type_name = map[int32]string{ - 0: "DEFAULT", - 1: "SOFTCAS", - 2: "CLOUDCAS", - 3: "STEPCAS", - } - Authority_Type_value = map[string]int32{ - "DEFAULT": 0, - "SOFTCAS": 1, - "CLOUDCAS": 2, - "STEPCAS": 3, - } -) - -func (x Authority_Type) Enum() *Authority_Type { - p := new(Authority_Type) - *p = x - return p -} - -func (x Authority_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Authority_Type) Descriptor() protoreflect.EnumDescriptor { - return file_linkedca_config_proto_enumTypes[0].Descriptor() -} - -func (Authority_Type) Type() protoreflect.EnumType { - return &file_linkedca_config_proto_enumTypes[0] -} - -func (x Authority_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Authority_Type.Descriptor instead. -func (Authority_Type) EnumDescriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{2, 0} -} - -type CertificateIssuer_Type int32 - -const ( - CertificateIssuer_UNKNOWN CertificateIssuer_Type = 0 - CertificateIssuer_JWK CertificateIssuer_Type = 1 - CertificateIssuer_X5C CertificateIssuer_Type = 2 -) - -// Enum value maps for CertificateIssuer_Type. -var ( - CertificateIssuer_Type_name = map[int32]string{ - 0: "UNKNOWN", - 1: "JWK", - 2: "X5C", - } - CertificateIssuer_Type_value = map[string]int32{ - "UNKNOWN": 0, - "JWK": 1, - "X5C": 2, - } -) - -func (x CertificateIssuer_Type) Enum() *CertificateIssuer_Type { - p := new(CertificateIssuer_Type) - *p = x - return p -} - -func (x CertificateIssuer_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CertificateIssuer_Type) Descriptor() protoreflect.EnumDescriptor { - return file_linkedca_config_proto_enumTypes[1].Descriptor() -} - -func (CertificateIssuer_Type) Type() protoreflect.EnumType { - return &file_linkedca_config_proto_enumTypes[1] -} - -func (x CertificateIssuer_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use CertificateIssuer_Type.Descriptor instead. -func (CertificateIssuer_Type) EnumDescriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{4, 0} -} - -type SSHPublicKey_Type int32 - -const ( - SSHPublicKey_UNKNOWN SSHPublicKey_Type = 0 - SSHPublicKey_USER SSHPublicKey_Type = 1 - SSHPublicKey_HOST SSHPublicKey_Type = 2 -) - -// Enum value maps for SSHPublicKey_Type. -var ( - SSHPublicKey_Type_name = map[int32]string{ - 0: "UNKNOWN", - 1: "USER", - 2: "HOST", - } - SSHPublicKey_Type_value = map[string]int32{ - "UNKNOWN": 0, - "USER": 1, - "HOST": 2, - } -) - -func (x SSHPublicKey_Type) Enum() *SSHPublicKey_Type { - p := new(SSHPublicKey_Type) - *p = x - return p -} - -func (x SSHPublicKey_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SSHPublicKey_Type) Descriptor() protoreflect.EnumDescriptor { - return file_linkedca_config_proto_enumTypes[2].Descriptor() -} - -func (SSHPublicKey_Type) Type() protoreflect.EnumType { - return &file_linkedca_config_proto_enumTypes[2] -} - -func (x SSHPublicKey_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SSHPublicKey_Type.Descriptor instead. -func (SSHPublicKey_Type) EnumDescriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{6, 0} -} - -type KMS_Type int32 - -const ( - KMS_DEFAULT KMS_Type = 0 - KMS_SOFTKMS KMS_Type = 1 - KMS_CLOUDKMS KMS_Type = 2 - KMS_AMAZONKMS KMS_Type = 3 - KMS_PKCS11 KMS_Type = 4 - KMS_YUBIKEY KMS_Type = 5 - KMS_SSHAGENTKMS KMS_Type = 6 - KMS_AZUREKMS KMS_Type = 7 -) - -// Enum value maps for KMS_Type. -var ( - KMS_Type_name = map[int32]string{ - 0: "DEFAULT", - 1: "SOFTKMS", - 2: "CLOUDKMS", - 3: "AMAZONKMS", - 4: "PKCS11", - 5: "YUBIKEY", - 6: "SSHAGENTKMS", - 7: "AZUREKMS", - } - KMS_Type_value = map[string]int32{ - "DEFAULT": 0, - "SOFTKMS": 1, - "CLOUDKMS": 2, - "AMAZONKMS": 3, - "PKCS11": 4, - "YUBIKEY": 5, - "SSHAGENTKMS": 6, - "AZUREKMS": 7, - } -) - -func (x KMS_Type) Enum() *KMS_Type { - p := new(KMS_Type) - *p = x - return p -} - -func (x KMS_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (KMS_Type) Descriptor() protoreflect.EnumDescriptor { - return file_linkedca_config_proto_enumTypes[3].Descriptor() -} - -func (KMS_Type) Type() protoreflect.EnumType { - return &file_linkedca_config_proto_enumTypes[3] -} - -func (x KMS_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use KMS_Type.Descriptor instead. -func (KMS_Type) EnumDescriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{8, 0} -} - -type TLS_CiperSuite int32 - -const ( - TLS_UNKNOWN TLS_CiperSuite = 0 - // TLS 1.0 - 1.2 cipher suites. - TLS_TLS_RSA_WITH_RC4_128_SHA TLS_CiperSuite = 5 - TLS_TLS_RSA_WITH_3DES_EDE_CBC_SHA TLS_CiperSuite = 10 - TLS_TLS_RSA_WITH_AES_128_CBC_SHA TLS_CiperSuite = 47 - TLS_TLS_RSA_WITH_AES_256_CBC_SHA TLS_CiperSuite = 53 - TLS_TLS_RSA_WITH_AES_128_CBC_SHA256 TLS_CiperSuite = 60 - TLS_TLS_RSA_WITH_AES_128_GCM_SHA256 TLS_CiperSuite = 156 - TLS_TLS_RSA_WITH_AES_256_GCM_SHA384 TLS_CiperSuite = 157 - TLS_TLS_ECDHE_ECDSA_WITH_RC4_128_SHA TLS_CiperSuite = 49159 - TLS_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA TLS_CiperSuite = 49161 - TLS_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA TLS_CiperSuite = 49162 - TLS_TLS_ECDHE_RSA_WITH_RC4_128_SHA TLS_CiperSuite = 49169 - TLS_TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA TLS_CiperSuite = 49170 - TLS_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA TLS_CiperSuite = 49171 - TLS_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA TLS_CiperSuite = 49172 - TLS_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 TLS_CiperSuite = 49187 - TLS_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 TLS_CiperSuite = 49191 - TLS_TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 TLS_CiperSuite = 49199 - TLS_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 TLS_CiperSuite = 49195 - TLS_TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 TLS_CiperSuite = 49200 - TLS_TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 TLS_CiperSuite = 49196 - TLS_TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 TLS_CiperSuite = 52392 - TLS_TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 TLS_CiperSuite = 52393 - // TLS 1.3 cipher suites. - TLS_TLS_AES_128_GCM_SHA256 TLS_CiperSuite = 4865 - TLS_TLS_AES_256_GCM_SHA384 TLS_CiperSuite = 4866 - TLS_TLS_CHACHA20_POLY1305_SHA256 TLS_CiperSuite = 4867 -) - -// Enum value maps for TLS_CiperSuite. -var ( - TLS_CiperSuite_name = map[int32]string{ - 0: "UNKNOWN", - 5: "TLS_RSA_WITH_RC4_128_SHA", - 10: "TLS_RSA_WITH_3DES_EDE_CBC_SHA", - 47: "TLS_RSA_WITH_AES_128_CBC_SHA", - 53: "TLS_RSA_WITH_AES_256_CBC_SHA", - 60: "TLS_RSA_WITH_AES_128_CBC_SHA256", - 156: "TLS_RSA_WITH_AES_128_GCM_SHA256", - 157: "TLS_RSA_WITH_AES_256_GCM_SHA384", - 49159: "TLS_ECDHE_ECDSA_WITH_RC4_128_SHA", - 49161: "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", - 49162: "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", - 49169: "TLS_ECDHE_RSA_WITH_RC4_128_SHA", - 49170: "TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA", - 49171: "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", - 49172: "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", - 49187: "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", - 49191: "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", - 49199: "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", - 49195: "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", - 49200: "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", - 49196: "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", - 52392: "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256", - 52393: "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256", - 4865: "TLS_AES_128_GCM_SHA256", - 4866: "TLS_AES_256_GCM_SHA384", - 4867: "TLS_CHACHA20_POLY1305_SHA256", - } - TLS_CiperSuite_value = map[string]int32{ - "UNKNOWN": 0, - "TLS_RSA_WITH_RC4_128_SHA": 5, - "TLS_RSA_WITH_3DES_EDE_CBC_SHA": 10, - "TLS_RSA_WITH_AES_128_CBC_SHA": 47, - "TLS_RSA_WITH_AES_256_CBC_SHA": 53, - "TLS_RSA_WITH_AES_128_CBC_SHA256": 60, - "TLS_RSA_WITH_AES_128_GCM_SHA256": 156, - "TLS_RSA_WITH_AES_256_GCM_SHA384": 157, - "TLS_ECDHE_ECDSA_WITH_RC4_128_SHA": 49159, - "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA": 49161, - "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA": 49162, - "TLS_ECDHE_RSA_WITH_RC4_128_SHA": 49169, - "TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA": 49170, - "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA": 49171, - "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA": 49172, - "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256": 49187, - "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256": 49191, - "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256": 49199, - "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256": 49195, - "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384": 49200, - "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384": 49196, - "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256": 52392, - "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256": 52393, - "TLS_AES_128_GCM_SHA256": 4865, - "TLS_AES_256_GCM_SHA384": 4866, - "TLS_CHACHA20_POLY1305_SHA256": 4867, - } -) - -func (x TLS_CiperSuite) Enum() *TLS_CiperSuite { - p := new(TLS_CiperSuite) - *p = x - return p -} - -func (x TLS_CiperSuite) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (TLS_CiperSuite) Descriptor() protoreflect.EnumDescriptor { - return file_linkedca_config_proto_enumTypes[4].Descriptor() -} - -func (TLS_CiperSuite) Type() protoreflect.EnumType { - return &file_linkedca_config_proto_enumTypes[4] -} - -func (x TLS_CiperSuite) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use TLS_CiperSuite.Descriptor instead. -func (TLS_CiperSuite) EnumDescriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{9, 0} -} - -type ConfigTemplate_Type int32 - -const ( - ConfigTemplate_UNKNOWN ConfigTemplate_Type = 0 - ConfigTemplate_SNIPPET ConfigTemplate_Type = 1 - ConfigTemplate_FILE ConfigTemplate_Type = 2 - ConfigTemplate_DIRECTORY ConfigTemplate_Type = 3 -) - -// Enum value maps for ConfigTemplate_Type. -var ( - ConfigTemplate_Type_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SNIPPET", - 2: "FILE", - 3: "DIRECTORY", - } - ConfigTemplate_Type_value = map[string]int32{ - "UNKNOWN": 0, - "SNIPPET": 1, - "FILE": 2, - "DIRECTORY": 3, - } -) - -func (x ConfigTemplate_Type) Enum() *ConfigTemplate_Type { - p := new(ConfigTemplate_Type) - *p = x - return p -} - -func (x ConfigTemplate_Type) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ConfigTemplate_Type) Descriptor() protoreflect.EnumDescriptor { - return file_linkedca_config_proto_enumTypes[5].Descriptor() -} - -func (ConfigTemplate_Type) Type() protoreflect.EnumType { - return &file_linkedca_config_proto_enumTypes[5] -} - -func (x ConfigTemplate_Type) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ConfigTemplate_Type.Descriptor instead. -func (ConfigTemplate_Type) EnumDescriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{12, 0} -} - -// Configuration is the proto representation of a ca.json. Root keys and SSH -// public keys are not present in the ca.json but have been added here to be -// used in the initialization of a PKI. -type Configuration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - Root []string `protobuf:"bytes,2,rep,name=root,proto3" json:"root,omitempty"` // pem representation in files - RootKey []string `protobuf:"bytes,3,rep,name=root_key,json=rootKey,proto3" json:"root_key,omitempty"` // pem representation in files - FederatedRoots []string `protobuf:"bytes,4,rep,name=federated_roots,json=federatedRoots,proto3" json:"federated_roots,omitempty"` // pem representation in files - Intermediate string `protobuf:"bytes,5,opt,name=intermediate,proto3" json:"intermediate,omitempty"` // pem representation in files - IntermediateKey string `protobuf:"bytes,6,opt,name=intermediate_key,json=intermediateKey,proto3" json:"intermediate_key,omitempty"` // pem representation in files - Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` - InsecureAddress string `protobuf:"bytes,8,opt,name=insecure_address,json=insecureAddress,proto3" json:"insecure_address,omitempty"` - DnsNames []string `protobuf:"bytes,9,rep,name=dns_names,json=dnsNames,proto3" json:"dns_names,omitempty"` - Ssh *SSH `protobuf:"bytes,10,opt,name=ssh,proto3" json:"ssh,omitempty"` - Kms *KMS `protobuf:"bytes,11,opt,name=kms,proto3" json:"kms,omitempty"` - Logger *structpb.Struct `protobuf:"bytes,12,opt,name=logger,proto3" json:"logger,omitempty"` // json representation - Db *structpb.Struct `protobuf:"bytes,13,opt,name=db,proto3" json:"db,omitempty"` // json representation - Monitoring *structpb.Struct `protobuf:"bytes,14,opt,name=monitoring,proto3" json:"monitoring,omitempty"` // json representation - Authority *Authority `protobuf:"bytes,15,opt,name=authority,proto3" json:"authority,omitempty"` - Tls *TLS `protobuf:"bytes,16,opt,name=tls,proto3" json:"tls,omitempty"` - Templates *ConfigTemplates `protobuf:"bytes,17,opt,name=templates,proto3" json:"templates,omitempty"` - Password []byte `protobuf:"bytes,18,opt,name=password,proto3" json:"password,omitempty"` - Files map[string][]byte `protobuf:"bytes,19,rep,name=files,proto3" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *Configuration) Reset() { - *x = Configuration{} - if protoimpl.UnsafeEnabled { - mi := &file_linkedca_config_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Configuration) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Configuration) ProtoMessage() {} - -func (x *Configuration) ProtoReflect() protoreflect.Message { - mi := &file_linkedca_config_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Configuration.ProtoReflect.Descriptor instead. -func (*Configuration) Descriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{0} -} - -func (x *Configuration) GetVersion() string { - if x != nil { - return x.Version - } - return "" -} - -func (x *Configuration) GetRoot() []string { - if x != nil { - return x.Root - } - return nil -} - -func (x *Configuration) GetRootKey() []string { - if x != nil { - return x.RootKey - } - return nil -} - -func (x *Configuration) GetFederatedRoots() []string { - if x != nil { - return x.FederatedRoots - } - return nil -} - -func (x *Configuration) GetIntermediate() string { - if x != nil { - return x.Intermediate - } - return "" -} - -func (x *Configuration) GetIntermediateKey() string { - if x != nil { - return x.IntermediateKey - } - return "" -} - -func (x *Configuration) GetAddress() string { - if x != nil { - return x.Address - } - return "" -} - -func (x *Configuration) GetInsecureAddress() string { - if x != nil { - return x.InsecureAddress - } - return "" -} - -func (x *Configuration) GetDnsNames() []string { - if x != nil { - return x.DnsNames - } - return nil -} - -func (x *Configuration) GetSsh() *SSH { - if x != nil { - return x.Ssh - } - return nil -} - -func (x *Configuration) GetKms() *KMS { - if x != nil { - return x.Kms - } - return nil -} - -func (x *Configuration) GetLogger() *structpb.Struct { - if x != nil { - return x.Logger - } - return nil -} - -func (x *Configuration) GetDb() *structpb.Struct { - if x != nil { - return x.Db - } - return nil -} - -func (x *Configuration) GetMonitoring() *structpb.Struct { - if x != nil { - return x.Monitoring - } - return nil -} - -func (x *Configuration) GetAuthority() *Authority { - if x != nil { - return x.Authority - } - return nil -} - -func (x *Configuration) GetTls() *TLS { - if x != nil { - return x.Tls - } - return nil -} - -func (x *Configuration) GetTemplates() *ConfigTemplates { - if x != nil { - return x.Templates - } - return nil -} - -func (x *Configuration) GetPassword() []byte { - if x != nil { - return x.Password - } - return nil -} - -func (x *Configuration) GetFiles() map[string][]byte { - if x != nil { - return x.Files - } - return nil -} - -// Defaults is the proto representation of the defaults.json, this file can be -// extended, so it will only contain the default fields. -type Defaults struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CaUrl string `protobuf:"bytes,1,opt,name=ca_url,json=caUrl,proto3" json:"ca_url,omitempty"` - CaConfig string `protobuf:"bytes,2,opt,name=ca_config,json=caConfig,proto3" json:"ca_config,omitempty"` - Fingerprint string `protobuf:"bytes,3,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` - Root string `protobuf:"bytes,4,opt,name=root,proto3" json:"root,omitempty"` -} - -func (x *Defaults) Reset() { - *x = Defaults{} - if protoimpl.UnsafeEnabled { - mi := &file_linkedca_config_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Defaults) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Defaults) ProtoMessage() {} - -func (x *Defaults) ProtoReflect() protoreflect.Message { - mi := &file_linkedca_config_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Defaults.ProtoReflect.Descriptor instead. -func (*Defaults) Descriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{1} -} - -func (x *Defaults) GetCaUrl() string { - if x != nil { - return x.CaUrl - } - return "" -} - -func (x *Defaults) GetCaConfig() string { - if x != nil { - return x.CaConfig - } - return "" -} - -func (x *Defaults) GetFingerprint() string { - if x != nil { - return x.Fingerprint - } - return "" -} - -func (x *Defaults) GetRoot() string { - if x != nil { - return x.Root - } - return "" -} - -type Authority struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Authority id. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // CAS specific properties. - Type Authority_Type `protobuf:"varint,2,opt,name=type,proto3,enum=linkedca.Authority_Type" json:"type,omitempty"` - CertificateAuthority string `protobuf:"bytes,3,opt,name=certificate_authority,json=certificateAuthority,proto3" json:"certificate_authority,omitempty"` - CertificateAuthorityFingerprint string `protobuf:"bytes,4,opt,name=certificate_authority_fingerprint,json=certificateAuthorityFingerprint,proto3" json:"certificate_authority_fingerprint,omitempty"` - CertificateIssuer *CertificateIssuer `protobuf:"bytes,5,opt,name=certificate_issuer,json=certificateIssuer,proto3" json:"certificate_issuer,omitempty"` - CredentialsFile string `protobuf:"bytes,6,opt,name=credentials_file,json=credentialsFile,proto3" json:"credentials_file,omitempty"` - // Authority configuration. - EnableAdmin bool `protobuf:"varint,7,opt,name=enable_admin,json=enableAdmin,proto3" json:"enable_admin,omitempty"` - Provisioners []*Provisioner `protobuf:"bytes,8,rep,name=provisioners,proto3" json:"provisioners,omitempty"` - Admins []*Admin `protobuf:"bytes,9,rep,name=admins,proto3" json:"admins,omitempty"` - Template *DistinguishedName `protobuf:"bytes,10,opt,name=template,proto3" json:"template,omitempty"` - Claims *Claims `protobuf:"bytes,11,opt,name=claims,proto3" json:"claims,omitempty"` - DisableIssuedAtCheck bool `protobuf:"varint,12,opt,name=disable_issued_at_check,json=disableIssuedAtCheck,proto3" json:"disable_issued_at_check,omitempty"` - Backdate string `protobuf:"bytes,13,opt,name=backdate,proto3" json:"backdate,omitempty"` - DeploymentType string `protobuf:"bytes,14,opt,name=deployment_type,json=deploymentType,proto3" json:"deployment_type,omitempty"` - Policy *Policy `protobuf:"bytes,15,opt,name=policy,proto3" json:"policy,omitempty"` -} - -func (x *Authority) Reset() { - *x = Authority{} - if protoimpl.UnsafeEnabled { - mi := &file_linkedca_config_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Authority) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Authority) ProtoMessage() {} - -func (x *Authority) ProtoReflect() protoreflect.Message { - mi := &file_linkedca_config_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Authority.ProtoReflect.Descriptor instead. -func (*Authority) Descriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{2} -} - -func (x *Authority) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *Authority) GetType() Authority_Type { - if x != nil { - return x.Type - } - return Authority_DEFAULT -} - -func (x *Authority) GetCertificateAuthority() string { - if x != nil { - return x.CertificateAuthority - } - return "" -} - -func (x *Authority) GetCertificateAuthorityFingerprint() string { - if x != nil { - return x.CertificateAuthorityFingerprint - } - return "" -} - -func (x *Authority) GetCertificateIssuer() *CertificateIssuer { - if x != nil { - return x.CertificateIssuer - } - return nil -} - -func (x *Authority) GetCredentialsFile() string { - if x != nil { - return x.CredentialsFile - } - return "" -} - -func (x *Authority) GetEnableAdmin() bool { - if x != nil { - return x.EnableAdmin - } - return false -} - -func (x *Authority) GetProvisioners() []*Provisioner { - if x != nil { - return x.Provisioners - } - return nil -} - -func (x *Authority) GetAdmins() []*Admin { - if x != nil { - return x.Admins - } - return nil -} - -func (x *Authority) GetTemplate() *DistinguishedName { - if x != nil { - return x.Template - } - return nil -} - -func (x *Authority) GetClaims() *Claims { - if x != nil { - return x.Claims - } - return nil -} - -func (x *Authority) GetDisableIssuedAtCheck() bool { - if x != nil { - return x.DisableIssuedAtCheck - } - return false -} - -func (x *Authority) GetBackdate() string { - if x != nil { - return x.Backdate - } - return "" -} - -func (x *Authority) GetDeploymentType() string { - if x != nil { - return x.DeploymentType - } - return "" -} - -func (x *Authority) GetPolicy() *Policy { - if x != nil { - return x.Policy - } - return nil -} - -type DistinguishedName struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` - Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"` - OrganizationalUnit string `protobuf:"bytes,3,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"` - Locality string `protobuf:"bytes,4,opt,name=locality,proto3" json:"locality,omitempty"` - Province string `protobuf:"bytes,5,opt,name=province,proto3" json:"province,omitempty"` - StreetAddress string `protobuf:"bytes,6,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"` - SerialNumber string `protobuf:"bytes,7,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` - CommonName string `protobuf:"bytes,8,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"` -} - -func (x *DistinguishedName) Reset() { - *x = DistinguishedName{} - if protoimpl.UnsafeEnabled { - mi := &file_linkedca_config_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DistinguishedName) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DistinguishedName) ProtoMessage() {} - -func (x *DistinguishedName) ProtoReflect() protoreflect.Message { - mi := &file_linkedca_config_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DistinguishedName.ProtoReflect.Descriptor instead. -func (*DistinguishedName) Descriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{3} -} - -func (x *DistinguishedName) GetCountry() string { - if x != nil { - return x.Country - } - return "" -} - -func (x *DistinguishedName) GetOrganization() string { - if x != nil { - return x.Organization - } - return "" -} - -func (x *DistinguishedName) GetOrganizationalUnit() string { - if x != nil { - return x.OrganizationalUnit - } - return "" -} - -func (x *DistinguishedName) GetLocality() string { - if x != nil { - return x.Locality - } - return "" -} - -func (x *DistinguishedName) GetProvince() string { - if x != nil { - return x.Province - } - return "" -} - -func (x *DistinguishedName) GetStreetAddress() string { - if x != nil { - return x.StreetAddress - } - return "" -} - -func (x *DistinguishedName) GetSerialNumber() string { - if x != nil { - return x.SerialNumber - } - return "" -} - -func (x *DistinguishedName) GetCommonName() string { - if x != nil { - return x.CommonName - } - return "" -} - -type CertificateIssuer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type CertificateIssuer_Type `protobuf:"varint,1,opt,name=type,proto3,enum=linkedca.CertificateIssuer_Type" json:"type,omitempty"` - Provisioner string `protobuf:"bytes,2,opt,name=provisioner,proto3" json:"provisioner,omitempty"` - Certificate string `protobuf:"bytes,3,opt,name=certificate,proto3" json:"certificate,omitempty"` - Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` - Password []byte `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` -} - -func (x *CertificateIssuer) Reset() { - *x = CertificateIssuer{} - if protoimpl.UnsafeEnabled { - mi := &file_linkedca_config_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CertificateIssuer) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CertificateIssuer) ProtoMessage() {} - -func (x *CertificateIssuer) ProtoReflect() protoreflect.Message { - mi := &file_linkedca_config_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CertificateIssuer.ProtoReflect.Descriptor instead. -func (*CertificateIssuer) Descriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{4} -} - -func (x *CertificateIssuer) GetType() CertificateIssuer_Type { - if x != nil { - return x.Type - } - return CertificateIssuer_UNKNOWN -} - -func (x *CertificateIssuer) GetProvisioner() string { - if x != nil { - return x.Provisioner - } - return "" -} - -func (x *CertificateIssuer) GetCertificate() string { - if x != nil { - return x.Certificate - } - return "" -} - -func (x *CertificateIssuer) GetKey() string { - if x != nil { - return x.Key - } - return "" -} - -func (x *CertificateIssuer) GetPassword() []byte { - if x != nil { - return x.Password - } - return nil -} - -type SSH struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - HostKey string `protobuf:"bytes,1,opt,name=host_key,json=hostKey,proto3" json:"host_key,omitempty"` // pem representation in files - UserKey string `protobuf:"bytes,2,opt,name=user_key,json=userKey,proto3" json:"user_key,omitempty"` // pem representation in files - HostPublicKey string `protobuf:"bytes,3,opt,name=host_public_key,json=hostPublicKey,proto3" json:"host_public_key,omitempty"` // ssh representation in files - UserPublicKey string `protobuf:"bytes,4,opt,name=user_public_key,json=userPublicKey,proto3" json:"user_public_key,omitempty"` // ssh representation in files - Keys []*SSHPublicKey `protobuf:"bytes,5,rep,name=keys,proto3" json:"keys,omitempty"` - AddUserPrincipal string `protobuf:"bytes,6,opt,name=add_user_principal,json=addUserPrincipal,proto3" json:"add_user_principal,omitempty"` - AddUserCommand string `protobuf:"bytes,7,opt,name=add_user_command,json=addUserCommand,proto3" json:"add_user_command,omitempty"` - Bastion *Bastion `protobuf:"bytes,8,opt,name=bastion,proto3" json:"bastion,omitempty"` -} - -func (x *SSH) Reset() { - *x = SSH{} - if protoimpl.UnsafeEnabled { - mi := &file_linkedca_config_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SSH) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SSH) ProtoMessage() {} - -func (x *SSH) ProtoReflect() protoreflect.Message { - mi := &file_linkedca_config_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SSH.ProtoReflect.Descriptor instead. -func (*SSH) Descriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{5} -} - -func (x *SSH) GetHostKey() string { - if x != nil { - return x.HostKey - } - return "" -} - -func (x *SSH) GetUserKey() string { - if x != nil { - return x.UserKey - } - return "" -} - -func (x *SSH) GetHostPublicKey() string { - if x != nil { - return x.HostPublicKey - } - return "" -} - -func (x *SSH) GetUserPublicKey() string { - if x != nil { - return x.UserPublicKey - } - return "" -} - -func (x *SSH) GetKeys() []*SSHPublicKey { - if x != nil { - return x.Keys - } - return nil -} - -func (x *SSH) GetAddUserPrincipal() string { - if x != nil { - return x.AddUserPrincipal - } - return "" -} - -func (x *SSH) GetAddUserCommand() string { - if x != nil { - return x.AddUserCommand - } - return "" -} - -func (x *SSH) GetBastion() *Bastion { - if x != nil { - return x.Bastion - } - return nil -} - -type SSHPublicKey struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type SSHPublicKey_Type `protobuf:"varint,1,opt,name=type,proto3,enum=linkedca.SSHPublicKey_Type" json:"type,omitempty"` - Federated bool `protobuf:"varint,2,opt,name=federated,proto3" json:"federated,omitempty"` - Key *structpb.Struct `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` -} - -func (x *SSHPublicKey) Reset() { - *x = SSHPublicKey{} - if protoimpl.UnsafeEnabled { - mi := &file_linkedca_config_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SSHPublicKey) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SSHPublicKey) ProtoMessage() {} - -func (x *SSHPublicKey) ProtoReflect() protoreflect.Message { - mi := &file_linkedca_config_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SSHPublicKey.ProtoReflect.Descriptor instead. -func (*SSHPublicKey) Descriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{6} -} - -func (x *SSHPublicKey) GetType() SSHPublicKey_Type { - if x != nil { - return x.Type - } - return SSHPublicKey_UNKNOWN -} - -func (x *SSHPublicKey) GetFederated() bool { - if x != nil { - return x.Federated - } - return false -} - -func (x *SSHPublicKey) GetKey() *structpb.Struct { - if x != nil { - return x.Key - } - return nil -} - -type Bastion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` - User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - Port string `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"` - Command string `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"` - Flags string `protobuf:"bytes,5,opt,name=flags,proto3" json:"flags,omitempty"` -} - -func (x *Bastion) Reset() { - *x = Bastion{} - if protoimpl.UnsafeEnabled { - mi := &file_linkedca_config_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Bastion) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Bastion) ProtoMessage() {} - -func (x *Bastion) ProtoReflect() protoreflect.Message { - mi := &file_linkedca_config_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Bastion.ProtoReflect.Descriptor instead. -func (*Bastion) Descriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{7} -} - -func (x *Bastion) GetHostname() string { - if x != nil { - return x.Hostname - } - return "" -} - -func (x *Bastion) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *Bastion) GetPort() string { - if x != nil { - return x.Port - } - return "" -} - -func (x *Bastion) GetCommand() string { - if x != nil { - return x.Command - } - return "" -} - -func (x *Bastion) GetFlags() string { - if x != nil { - return x.Flags - } - return "" -} - -type KMS struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type KMS_Type `protobuf:"varint,1,opt,name=type,proto3,enum=linkedca.KMS_Type" json:"type,omitempty"` - CredentialsFile string `protobuf:"bytes,2,opt,name=credentialsFile,proto3" json:"credentialsFile,omitempty"` - Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` - Pin string `protobuf:"bytes,4,opt,name=pin,proto3" json:"pin,omitempty"` - ManagementKey string `protobuf:"bytes,5,opt,name=managementKey,proto3" json:"managementKey,omitempty"` - Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"` - Profile string `protobuf:"bytes,7,opt,name=profile,proto3" json:"profile,omitempty"` -} - -func (x *KMS) Reset() { - *x = KMS{} - if protoimpl.UnsafeEnabled { - mi := &file_linkedca_config_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *KMS) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KMS) ProtoMessage() {} - -func (x *KMS) ProtoReflect() protoreflect.Message { - mi := &file_linkedca_config_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use KMS.ProtoReflect.Descriptor instead. -func (*KMS) Descriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{8} -} - -func (x *KMS) GetType() KMS_Type { - if x != nil { - return x.Type - } - return KMS_DEFAULT -} - -func (x *KMS) GetCredentialsFile() string { - if x != nil { - return x.CredentialsFile - } - return "" -} - -func (x *KMS) GetUri() string { - if x != nil { - return x.Uri - } - return "" -} - -func (x *KMS) GetPin() string { - if x != nil { - return x.Pin - } - return "" -} - -func (x *KMS) GetManagementKey() string { - if x != nil { - return x.ManagementKey - } - return "" -} - -func (x *KMS) GetRegion() string { - if x != nil { - return x.Region - } - return "" -} - -func (x *KMS) GetProfile() string { - if x != nil { - return x.Profile - } - return "" -} - -type TLS struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CipherSuites []TLS_CiperSuite `protobuf:"varint,1,rep,packed,name=cipher_suites,json=cipherSuites,proto3,enum=linkedca.TLS_CiperSuite" json:"cipher_suites,omitempty"` - MinVersion string `protobuf:"bytes,2,opt,name=min_version,json=minVersion,proto3" json:"min_version,omitempty"` - MaxVersion string `protobuf:"bytes,3,opt,name=max_version,json=maxVersion,proto3" json:"max_version,omitempty"` - Renegotiation bool `protobuf:"varint,4,opt,name=renegotiation,proto3" json:"renegotiation,omitempty"` -} - -func (x *TLS) Reset() { - *x = TLS{} - if protoimpl.UnsafeEnabled { - mi := &file_linkedca_config_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TLS) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TLS) ProtoMessage() {} - -func (x *TLS) ProtoReflect() protoreflect.Message { - mi := &file_linkedca_config_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TLS.ProtoReflect.Descriptor instead. -func (*TLS) Descriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{9} -} - -func (x *TLS) GetCipherSuites() []TLS_CiperSuite { - if x != nil { - return x.CipherSuites - } - return nil -} - -func (x *TLS) GetMinVersion() string { - if x != nil { - return x.MinVersion - } - return "" -} - -func (x *TLS) GetMaxVersion() string { - if x != nil { - return x.MaxVersion - } - return "" -} - -func (x *TLS) GetRenegotiation() bool { - if x != nil { - return x.Renegotiation - } - return false -} - -type ConfigTemplates struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Ssh *SSHConfigTemplate `protobuf:"bytes,1,opt,name=ssh,proto3" json:"ssh,omitempty"` - Data *structpb.Struct `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *ConfigTemplates) Reset() { - *x = ConfigTemplates{} - if protoimpl.UnsafeEnabled { - mi := &file_linkedca_config_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ConfigTemplates) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConfigTemplates) ProtoMessage() {} - -func (x *ConfigTemplates) ProtoReflect() protoreflect.Message { - mi := &file_linkedca_config_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConfigTemplates.ProtoReflect.Descriptor instead. -func (*ConfigTemplates) Descriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{10} -} - -func (x *ConfigTemplates) GetSsh() *SSHConfigTemplate { - if x != nil { - return x.Ssh - } - return nil -} - -func (x *ConfigTemplates) GetData() *structpb.Struct { - if x != nil { - return x.Data - } - return nil -} - -type SSHConfigTemplate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Users []*ConfigTemplate `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` - Hosts []*ConfigTemplate `protobuf:"bytes,2,rep,name=hosts,proto3" json:"hosts,omitempty"` -} - -func (x *SSHConfigTemplate) Reset() { - *x = SSHConfigTemplate{} - if protoimpl.UnsafeEnabled { - mi := &file_linkedca_config_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SSHConfigTemplate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SSHConfigTemplate) ProtoMessage() {} - -func (x *SSHConfigTemplate) ProtoReflect() protoreflect.Message { - mi := &file_linkedca_config_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SSHConfigTemplate.ProtoReflect.Descriptor instead. -func (*SSHConfigTemplate) Descriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{11} -} - -func (x *SSHConfigTemplate) GetUsers() []*ConfigTemplate { - if x != nil { - return x.Users - } - return nil -} - -func (x *SSHConfigTemplate) GetHosts() []*ConfigTemplate { - if x != nil { - return x.Hosts - } - return nil -} - -type ConfigTemplate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type ConfigTemplate_Type `protobuf:"varint,1,opt,name=type,proto3,enum=linkedca.ConfigTemplate_Type" json:"type,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Template string `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"` - Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` - Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"` - Requires []string `protobuf:"bytes,6,rep,name=requires,proto3" json:"requires,omitempty"` - Content []byte `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"` -} - -func (x *ConfigTemplate) Reset() { - *x = ConfigTemplate{} - if protoimpl.UnsafeEnabled { - mi := &file_linkedca_config_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ConfigTemplate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConfigTemplate) ProtoMessage() {} - -func (x *ConfigTemplate) ProtoReflect() protoreflect.Message { - mi := &file_linkedca_config_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConfigTemplate.ProtoReflect.Descriptor instead. -func (*ConfigTemplate) Descriptor() ([]byte, []int) { - return file_linkedca_config_proto_rawDescGZIP(), []int{12} -} - -func (x *ConfigTemplate) GetType() ConfigTemplate_Type { - if x != nil { - return x.Type - } - return ConfigTemplate_UNKNOWN -} - -func (x *ConfigTemplate) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *ConfigTemplate) GetTemplate() string { - if x != nil { - return x.Template - } - return "" -} - -func (x *ConfigTemplate) GetPath() string { - if x != nil { - return x.Path - } - return "" -} - -func (x *ConfigTemplate) GetComment() string { - if x != nil { - return x.Comment - } - return "" -} - -func (x *ConfigTemplate) GetRequires() []string { - if x != nil { - return x.Requires - } - return nil -} - -func (x *ConfigTemplate) GetContent() []byte { - if x != nil { - return x.Content - } - return nil -} - -var File_linkedca_config_proto protoreflect.FileDescriptor - -var file_linkedca_config_proto_rawDesc = []byte{ - 0x0a, 0x15, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, - 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x14, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2f, - 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x15, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2f, 0x70, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa4, 0x06, 0x0a, 0x0d, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6f, - 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x6f, - 0x74, 0x4b, 0x65, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x65, 0x64, 0x65, 0x72, 0x61, 0x74, 0x65, - 0x64, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x66, - 0x65, 0x64, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x6f, 0x74, 0x73, 0x12, 0x22, 0x0a, - 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, - 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, - 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x73, 0x65, 0x63, 0x75, - 0x72, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0f, 0x69, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x6e, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x09, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1f, - 0x0a, 0x03, 0x73, 0x73, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6c, 0x69, - 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x53, 0x53, 0x48, 0x52, 0x03, 0x73, 0x73, 0x68, 0x12, - 0x1f, 0x0a, 0x03, 0x6b, 0x6d, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6c, - 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x4b, 0x4d, 0x53, 0x52, 0x03, 0x6b, 0x6d, 0x73, - 0x12, 0x2f, 0x0a, 0x06, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x6c, 0x6f, 0x67, 0x67, 0x65, - 0x72, 0x12, 0x27, 0x0a, 0x02, 0x64, 0x62, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x02, 0x64, 0x62, 0x12, 0x37, 0x0a, 0x0a, 0x6d, 0x6f, - 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, - 0x69, 0x6e, 0x67, 0x12, 0x31, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, - 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, - 0x61, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x09, 0x61, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x10, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x54, - 0x4c, 0x53, 0x52, 0x03, 0x74, 0x6c, 0x73, 0x12, 0x37, 0x0a, 0x09, 0x74, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x69, 0x6e, - 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x73, 0x52, 0x09, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, - 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x12, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x38, 0x0a, 0x05, - 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6c, 0x69, - 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x1a, 0x38, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0x74, 0x0a, 0x08, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x15, 0x0a, 0x06, - 0x63, 0x61, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, - 0x55, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, - 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x22, 0x8e, 0x06, 0x0a, 0x09, 0x41, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x74, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x41, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x12, 0x33, 0x0a, 0x15, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x14, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4a, 0x0a, 0x21, 0x63, 0x65, 0x72, 0x74, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, - 0x5f, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x1f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, - 0x69, 0x6e, 0x74, 0x12, 0x4a, 0x0a, 0x12, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x65, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1b, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x52, 0x11, 0x63, 0x65, - 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, - 0x29, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x5f, 0x66, - 0x69, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0b, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x39, 0x0a, - 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x08, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x50, - 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x27, 0x0a, 0x06, 0x61, 0x64, 0x6d, 0x69, - 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, - 0x64, 0x63, 0x61, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x06, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x73, 0x12, 0x37, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x44, - 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x75, 0x69, 0x73, 0x68, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, - 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x63, 0x6c, - 0x61, 0x69, 0x6d, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6c, 0x69, 0x6e, - 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x73, 0x52, 0x06, 0x63, 0x6c, - 0x61, 0x69, 0x6d, 0x73, 0x12, 0x35, 0x0a, 0x17, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, - 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, - 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x64, 0x41, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x62, - 0x61, 0x63, 0x6b, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, - 0x61, 0x63, 0x6b, 0x64, 0x61, 0x74, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x65, 0x70, 0x6c, 0x6f, - 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x28, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x10, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x3b, 0x0a, 0x04, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, - 0x0b, 0x0a, 0x07, 0x53, 0x4f, 0x46, 0x54, 0x43, 0x41, 0x53, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, - 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x43, 0x41, 0x53, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, - 0x45, 0x50, 0x43, 0x41, 0x53, 0x10, 0x03, 0x22, 0xa7, 0x02, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x74, - 0x69, 0x6e, 0x67, 0x75, 0x69, 0x73, 0x68, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x75, 0x6e, - 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, - 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08, - 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, - 0x69, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, - 0x69, 0x6e, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, - 0x72, 0x65, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, - 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, - 0x65, 0x22, 0xe2, 0x01, 0x0a, 0x11, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x65, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, - 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, - 0x0b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x12, - 0x20, 0x0a, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, - 0x25, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, - 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4a, 0x57, 0x4b, 0x10, 0x01, 0x12, 0x07, 0x0a, - 0x03, 0x58, 0x35, 0x43, 0x10, 0x02, 0x22, 0xbc, 0x02, 0x0a, 0x03, 0x53, 0x53, 0x48, 0x12, 0x19, - 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, - 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, - 0x72, 0x4b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, - 0x6f, 0x73, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x0f, - 0x75, 0x73, 0x65, 0x72, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x75, 0x73, 0x65, 0x72, 0x50, 0x75, 0x62, 0x6c, 0x69, - 0x63, 0x4b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x05, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x53, 0x53, - 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, - 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x64, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x69, - 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x64, - 0x64, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x28, - 0x0a, 0x10, 0x61, 0x64, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x64, 0x64, 0x55, 0x73, 0x65, - 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x2b, 0x0a, 0x07, 0x62, 0x61, 0x73, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, - 0x65, 0x64, 0x63, 0x61, 0x2e, 0x42, 0x61, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x62, 0x61, - 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb1, 0x01, 0x0a, 0x0c, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, - 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x2e, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x65, 0x64, 0x65, 0x72, - 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x66, 0x65, 0x64, 0x65, - 0x72, 0x61, 0x74, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x22, 0x27, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, - 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, - 0x08, 0x0a, 0x04, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x02, 0x22, 0x7d, 0x0a, 0x07, 0x42, 0x61, 0x73, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x75, 0x73, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, - 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, - 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x22, 0xca, 0x02, 0x0a, 0x03, 0x4b, 0x4d, 0x53, - 0x12, 0x26, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, - 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, 0x4b, 0x4d, 0x53, 0x2e, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x46, 0x69, - 0x6c, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x75, 0x72, 0x69, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x70, 0x69, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, - 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, - 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x75, - 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, - 0x54, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x4f, 0x46, 0x54, 0x4b, 0x4d, 0x53, 0x10, 0x01, - 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x4b, 0x4d, 0x53, 0x10, 0x02, 0x12, 0x0d, - 0x0a, 0x09, 0x41, 0x4d, 0x41, 0x5a, 0x4f, 0x4e, 0x4b, 0x4d, 0x53, 0x10, 0x03, 0x12, 0x0a, 0x0a, - 0x06, 0x50, 0x4b, 0x43, 0x53, 0x31, 0x31, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x59, 0x55, 0x42, - 0x49, 0x4b, 0x45, 0x59, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x53, 0x48, 0x41, 0x47, 0x45, - 0x4e, 0x54, 0x4b, 0x4d, 0x53, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x5a, 0x55, 0x52, 0x45, - 0x4b, 0x4d, 0x53, 0x10, 0x07, 0x22, 0xbc, 0x09, 0x0a, 0x03, 0x54, 0x4c, 0x53, 0x12, 0x3d, 0x0a, - 0x0d, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x73, 0x75, 0x69, 0x74, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, - 0x54, 0x4c, 0x53, 0x2e, 0x43, 0x69, 0x70, 0x65, 0x72, 0x53, 0x75, 0x69, 0x74, 0x65, 0x52, 0x0c, - 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x53, 0x75, 0x69, 0x74, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, - 0x6d, 0x69, 0x6e, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x6d, 0x69, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, - 0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, - 0x0a, 0x0d, 0x72, 0x65, 0x6e, 0x65, 0x67, 0x6f, 0x74, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x72, 0x65, 0x6e, 0x65, 0x67, 0x6f, 0x74, 0x69, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8d, 0x08, 0x0a, 0x0a, 0x43, 0x69, 0x70, 0x65, 0x72, 0x53, 0x75, - 0x69, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, - 0x12, 0x1c, 0x0a, 0x18, 0x54, 0x4c, 0x53, 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x57, 0x49, 0x54, 0x48, - 0x5f, 0x52, 0x43, 0x34, 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x53, 0x48, 0x41, 0x10, 0x05, 0x12, 0x21, - 0x0a, 0x1d, 0x54, 0x4c, 0x53, 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x33, - 0x44, 0x45, 0x53, 0x5f, 0x45, 0x44, 0x45, 0x5f, 0x43, 0x42, 0x43, 0x5f, 0x53, 0x48, 0x41, 0x10, - 0x0a, 0x12, 0x20, 0x0a, 0x1c, 0x54, 0x4c, 0x53, 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x57, 0x49, 0x54, - 0x48, 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x43, 0x42, 0x43, 0x5f, 0x53, 0x48, - 0x41, 0x10, 0x2f, 0x12, 0x20, 0x0a, 0x1c, 0x54, 0x4c, 0x53, 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x57, - 0x49, 0x54, 0x48, 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x32, 0x35, 0x36, 0x5f, 0x43, 0x42, 0x43, 0x5f, - 0x53, 0x48, 0x41, 0x10, 0x35, 0x12, 0x23, 0x0a, 0x1f, 0x54, 0x4c, 0x53, 0x5f, 0x52, 0x53, 0x41, - 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x43, 0x42, - 0x43, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x3c, 0x12, 0x24, 0x0a, 0x1f, 0x54, 0x4c, - 0x53, 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x31, - 0x32, 0x38, 0x5f, 0x47, 0x43, 0x4d, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x9c, 0x01, - 0x12, 0x24, 0x0a, 0x1f, 0x54, 0x4c, 0x53, 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x57, 0x49, 0x54, 0x48, - 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x32, 0x35, 0x36, 0x5f, 0x47, 0x43, 0x4d, 0x5f, 0x53, 0x48, 0x41, - 0x33, 0x38, 0x34, 0x10, 0x9d, 0x01, 0x12, 0x26, 0x0a, 0x20, 0x54, 0x4c, 0x53, 0x5f, 0x45, 0x43, - 0x44, 0x48, 0x45, 0x5f, 0x45, 0x43, 0x44, 0x53, 0x41, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x52, - 0x43, 0x34, 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x53, 0x48, 0x41, 0x10, 0x87, 0x80, 0x03, 0x12, 0x2a, - 0x0a, 0x24, 0x54, 0x4c, 0x53, 0x5f, 0x45, 0x43, 0x44, 0x48, 0x45, 0x5f, 0x45, 0x43, 0x44, 0x53, - 0x41, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x43, - 0x42, 0x43, 0x5f, 0x53, 0x48, 0x41, 0x10, 0x89, 0x80, 0x03, 0x12, 0x2a, 0x0a, 0x24, 0x54, 0x4c, - 0x53, 0x5f, 0x45, 0x43, 0x44, 0x48, 0x45, 0x5f, 0x45, 0x43, 0x44, 0x53, 0x41, 0x5f, 0x57, 0x49, - 0x54, 0x48, 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x32, 0x35, 0x36, 0x5f, 0x43, 0x42, 0x43, 0x5f, 0x53, - 0x48, 0x41, 0x10, 0x8a, 0x80, 0x03, 0x12, 0x24, 0x0a, 0x1e, 0x54, 0x4c, 0x53, 0x5f, 0x45, 0x43, - 0x44, 0x48, 0x45, 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x52, 0x43, 0x34, - 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x53, 0x48, 0x41, 0x10, 0x91, 0x80, 0x03, 0x12, 0x29, 0x0a, 0x23, - 0x54, 0x4c, 0x53, 0x5f, 0x45, 0x43, 0x44, 0x48, 0x45, 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x57, 0x49, - 0x54, 0x48, 0x5f, 0x33, 0x44, 0x45, 0x53, 0x5f, 0x45, 0x44, 0x45, 0x5f, 0x43, 0x42, 0x43, 0x5f, - 0x53, 0x48, 0x41, 0x10, 0x92, 0x80, 0x03, 0x12, 0x28, 0x0a, 0x22, 0x54, 0x4c, 0x53, 0x5f, 0x45, - 0x43, 0x44, 0x48, 0x45, 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x41, 0x45, - 0x53, 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x43, 0x42, 0x43, 0x5f, 0x53, 0x48, 0x41, 0x10, 0x93, 0x80, - 0x03, 0x12, 0x28, 0x0a, 0x22, 0x54, 0x4c, 0x53, 0x5f, 0x45, 0x43, 0x44, 0x48, 0x45, 0x5f, 0x52, - 0x53, 0x41, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x32, 0x35, 0x36, 0x5f, - 0x43, 0x42, 0x43, 0x5f, 0x53, 0x48, 0x41, 0x10, 0x94, 0x80, 0x03, 0x12, 0x2d, 0x0a, 0x27, 0x54, - 0x4c, 0x53, 0x5f, 0x45, 0x43, 0x44, 0x48, 0x45, 0x5f, 0x45, 0x43, 0x44, 0x53, 0x41, 0x5f, 0x57, - 0x49, 0x54, 0x48, 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x43, 0x42, 0x43, 0x5f, - 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0xa3, 0x80, 0x03, 0x12, 0x2b, 0x0a, 0x25, 0x54, 0x4c, - 0x53, 0x5f, 0x45, 0x43, 0x44, 0x48, 0x45, 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x57, 0x49, 0x54, 0x48, - 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x43, 0x42, 0x43, 0x5f, 0x53, 0x48, 0x41, - 0x32, 0x35, 0x36, 0x10, 0xa7, 0x80, 0x03, 0x12, 0x2b, 0x0a, 0x25, 0x54, 0x4c, 0x53, 0x5f, 0x45, - 0x43, 0x44, 0x48, 0x45, 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x41, 0x45, - 0x53, 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x47, 0x43, 0x4d, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, - 0x10, 0xaf, 0x80, 0x03, 0x12, 0x2d, 0x0a, 0x27, 0x54, 0x4c, 0x53, 0x5f, 0x45, 0x43, 0x44, 0x48, - 0x45, 0x5f, 0x45, 0x43, 0x44, 0x53, 0x41, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x41, 0x45, 0x53, - 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x47, 0x43, 0x4d, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, - 0xab, 0x80, 0x03, 0x12, 0x2b, 0x0a, 0x25, 0x54, 0x4c, 0x53, 0x5f, 0x45, 0x43, 0x44, 0x48, 0x45, - 0x5f, 0x52, 0x53, 0x41, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x32, 0x35, - 0x36, 0x5f, 0x47, 0x43, 0x4d, 0x5f, 0x53, 0x48, 0x41, 0x33, 0x38, 0x34, 0x10, 0xb0, 0x80, 0x03, - 0x12, 0x2d, 0x0a, 0x27, 0x54, 0x4c, 0x53, 0x5f, 0x45, 0x43, 0x44, 0x48, 0x45, 0x5f, 0x45, 0x43, - 0x44, 0x53, 0x41, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x41, 0x45, 0x53, 0x5f, 0x32, 0x35, 0x36, - 0x5f, 0x47, 0x43, 0x4d, 0x5f, 0x53, 0x48, 0x41, 0x33, 0x38, 0x34, 0x10, 0xac, 0x80, 0x03, 0x12, - 0x31, 0x0a, 0x2b, 0x54, 0x4c, 0x53, 0x5f, 0x45, 0x43, 0x44, 0x48, 0x45, 0x5f, 0x52, 0x53, 0x41, - 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x43, 0x48, 0x41, 0x43, 0x48, 0x41, 0x32, 0x30, 0x5f, 0x50, - 0x4f, 0x4c, 0x59, 0x31, 0x33, 0x30, 0x35, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0xa8, - 0x99, 0x03, 0x12, 0x33, 0x0a, 0x2d, 0x54, 0x4c, 0x53, 0x5f, 0x45, 0x43, 0x44, 0x48, 0x45, 0x5f, - 0x45, 0x43, 0x44, 0x53, 0x41, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x43, 0x48, 0x41, 0x43, 0x48, - 0x41, 0x32, 0x30, 0x5f, 0x50, 0x4f, 0x4c, 0x59, 0x31, 0x33, 0x30, 0x35, 0x5f, 0x53, 0x48, 0x41, - 0x32, 0x35, 0x36, 0x10, 0xa9, 0x99, 0x03, 0x12, 0x1b, 0x0a, 0x16, 0x54, 0x4c, 0x53, 0x5f, 0x41, - 0x45, 0x53, 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x47, 0x43, 0x4d, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, - 0x36, 0x10, 0x81, 0x26, 0x12, 0x1b, 0x0a, 0x16, 0x54, 0x4c, 0x53, 0x5f, 0x41, 0x45, 0x53, 0x5f, - 0x32, 0x35, 0x36, 0x5f, 0x47, 0x43, 0x4d, 0x5f, 0x53, 0x48, 0x41, 0x33, 0x38, 0x34, 0x10, 0x82, - 0x26, 0x12, 0x21, 0x0a, 0x1c, 0x54, 0x4c, 0x53, 0x5f, 0x43, 0x48, 0x41, 0x43, 0x48, 0x41, 0x32, - 0x30, 0x5f, 0x50, 0x4f, 0x4c, 0x59, 0x31, 0x33, 0x30, 0x35, 0x5f, 0x53, 0x48, 0x41, 0x32, 0x35, - 0x36, 0x10, 0x83, 0x26, 0x22, 0x6d, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x03, 0x73, 0x73, 0x68, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x63, 0x61, 0x2e, - 0x53, 0x53, 0x48, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x52, 0x03, 0x73, 0x73, 0x68, 0x12, 0x2b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x22, 0x73, 0x0a, 0x11, 0x53, 0x53, 0x48, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, - 0x63, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x2e, 0x0a, 0x05, 0x68, 0x6f, 0x73, 0x74, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, - 0x63, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x52, 0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x22, 0x92, 0x02, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x6c, 0x69, 0x6e, 0x6b, - 0x65, 0x64, 0x63, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, - 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, - 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x22, 0x39, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, - 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x4e, 0x49, 0x50, 0x50, - 0x45, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x0d, - 0x0a, 0x09, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x59, 0x10, 0x03, 0x42, 0x15, 0x5a, - 0x13, 0x67, 0x6f, 0x2e, 0x73, 0x74, 0x65, 0x70, 0x2e, 0x73, 0x6d, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, - 0x65, 0x64, 0x63, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_linkedca_config_proto_rawDescOnce sync.Once - file_linkedca_config_proto_rawDescData = file_linkedca_config_proto_rawDesc -) - -func file_linkedca_config_proto_rawDescGZIP() []byte { - file_linkedca_config_proto_rawDescOnce.Do(func() { - file_linkedca_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_linkedca_config_proto_rawDescData) - }) - return file_linkedca_config_proto_rawDescData -} - -var file_linkedca_config_proto_enumTypes = make([]protoimpl.EnumInfo, 6) -var file_linkedca_config_proto_msgTypes = make([]protoimpl.MessageInfo, 14) -var file_linkedca_config_proto_goTypes = []interface{}{ - (Authority_Type)(0), // 0: linkedca.Authority.Type - (CertificateIssuer_Type)(0), // 1: linkedca.CertificateIssuer.Type - (SSHPublicKey_Type)(0), // 2: linkedca.SSHPublicKey.Type - (KMS_Type)(0), // 3: linkedca.KMS.Type - (TLS_CiperSuite)(0), // 4: linkedca.TLS.CiperSuite - (ConfigTemplate_Type)(0), // 5: linkedca.ConfigTemplate.Type - (*Configuration)(nil), // 6: linkedca.Configuration - (*Defaults)(nil), // 7: linkedca.Defaults - (*Authority)(nil), // 8: linkedca.Authority - (*DistinguishedName)(nil), // 9: linkedca.DistinguishedName - (*CertificateIssuer)(nil), // 10: linkedca.CertificateIssuer - (*SSH)(nil), // 11: linkedca.SSH - (*SSHPublicKey)(nil), // 12: linkedca.SSHPublicKey - (*Bastion)(nil), // 13: linkedca.Bastion - (*KMS)(nil), // 14: linkedca.KMS - (*TLS)(nil), // 15: linkedca.TLS - (*ConfigTemplates)(nil), // 16: linkedca.ConfigTemplates - (*SSHConfigTemplate)(nil), // 17: linkedca.SSHConfigTemplate - (*ConfigTemplate)(nil), // 18: linkedca.ConfigTemplate - nil, // 19: linkedca.Configuration.FilesEntry - (*structpb.Struct)(nil), // 20: google.protobuf.Struct - (*Provisioner)(nil), // 21: linkedca.Provisioner - (*Admin)(nil), // 22: linkedca.Admin - (*Claims)(nil), // 23: linkedca.Claims - (*Policy)(nil), // 24: linkedca.Policy -} -var file_linkedca_config_proto_depIdxs = []int32{ - 11, // 0: linkedca.Configuration.ssh:type_name -> linkedca.SSH - 14, // 1: linkedca.Configuration.kms:type_name -> linkedca.KMS - 20, // 2: linkedca.Configuration.logger:type_name -> google.protobuf.Struct - 20, // 3: linkedca.Configuration.db:type_name -> google.protobuf.Struct - 20, // 4: linkedca.Configuration.monitoring:type_name -> google.protobuf.Struct - 8, // 5: linkedca.Configuration.authority:type_name -> linkedca.Authority - 15, // 6: linkedca.Configuration.tls:type_name -> linkedca.TLS - 16, // 7: linkedca.Configuration.templates:type_name -> linkedca.ConfigTemplates - 19, // 8: linkedca.Configuration.files:type_name -> linkedca.Configuration.FilesEntry - 0, // 9: linkedca.Authority.type:type_name -> linkedca.Authority.Type - 10, // 10: linkedca.Authority.certificate_issuer:type_name -> linkedca.CertificateIssuer - 21, // 11: linkedca.Authority.provisioners:type_name -> linkedca.Provisioner - 22, // 12: linkedca.Authority.admins:type_name -> linkedca.Admin - 9, // 13: linkedca.Authority.template:type_name -> linkedca.DistinguishedName - 23, // 14: linkedca.Authority.claims:type_name -> linkedca.Claims - 24, // 15: linkedca.Authority.policy:type_name -> linkedca.Policy - 1, // 16: linkedca.CertificateIssuer.type:type_name -> linkedca.CertificateIssuer.Type - 12, // 17: linkedca.SSH.keys:type_name -> linkedca.SSHPublicKey - 13, // 18: linkedca.SSH.bastion:type_name -> linkedca.Bastion - 2, // 19: linkedca.SSHPublicKey.type:type_name -> linkedca.SSHPublicKey.Type - 20, // 20: linkedca.SSHPublicKey.key:type_name -> google.protobuf.Struct - 3, // 21: linkedca.KMS.type:type_name -> linkedca.KMS.Type - 4, // 22: linkedca.TLS.cipher_suites:type_name -> linkedca.TLS.CiperSuite - 17, // 23: linkedca.ConfigTemplates.ssh:type_name -> linkedca.SSHConfigTemplate - 20, // 24: linkedca.ConfigTemplates.data:type_name -> google.protobuf.Struct - 18, // 25: linkedca.SSHConfigTemplate.users:type_name -> linkedca.ConfigTemplate - 18, // 26: linkedca.SSHConfigTemplate.hosts:type_name -> linkedca.ConfigTemplate - 5, // 27: linkedca.ConfigTemplate.type:type_name -> linkedca.ConfigTemplate.Type - 28, // [28:28] is the sub-list for method output_type - 28, // [28:28] is the sub-list for method input_type - 28, // [28:28] is the sub-list for extension type_name - 28, // [28:28] is the sub-list for extension extendee - 0, // [0:28] is the sub-list for field type_name -} - -func init() { file_linkedca_config_proto_init() } -func file_linkedca_config_proto_init() { - if File_linkedca_config_proto != nil { - return - } - file_linkedca_admin_proto_init() - file_linkedca_provisioners_proto_init() - file_linkedca_policy_proto_init() - if !protoimpl.UnsafeEnabled { - file_linkedca_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Configuration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_linkedca_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Defaults); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_linkedca_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Authority); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_linkedca_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DistinguishedName); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_linkedca_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CertificateIssuer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_linkedca_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SSH); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_linkedca_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SSHPublicKey); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_linkedca_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Bastion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_linkedca_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KMS); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_linkedca_config_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TLS); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_linkedca_config_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigTemplates); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_linkedca_config_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SSHConfigTemplate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_linkedca_config_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigTemplate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_linkedca_config_proto_rawDesc, - NumEnums: 6, - NumMessages: 14, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_linkedca_config_proto_goTypes, - DependencyIndexes: file_linkedca_config_proto_depIdxs, - EnumInfos: file_linkedca_config_proto_enumTypes, - MessageInfos: file_linkedca_config_proto_msgTypes, - }.Build() - File_linkedca_config_proto = out.File - file_linkedca_config_proto_rawDesc = nil - file_linkedca_config_proto_goTypes = nil - file_linkedca_config_proto_depIdxs = nil -} |
