Versions in this module Expand all Collapse all v3 v3.7.7 Oct 25, 2022 v3.7.6 Oct 25, 2022 Changes in this version + var File_keyservice_keyservice_proto protoreflect.FileDescriptor + func RegisterKeyServiceServer(s *grpc.Server, srv KeyServiceServer) + type AgeKey struct + Recipient string + func (*AgeKey) Descriptor() ([]byte, []int) + func (*AgeKey) ProtoMessage() + func (x *AgeKey) GetRecipient() string + func (x *AgeKey) ProtoReflect() protoreflect.Message + func (x *AgeKey) Reset() + func (x *AgeKey) String() string + type AzureKeyVaultKey struct + Name string + VaultUrl string + Version string + func (*AzureKeyVaultKey) Descriptor() ([]byte, []int) + func (*AzureKeyVaultKey) ProtoMessage() + func (x *AzureKeyVaultKey) GetName() string + func (x *AzureKeyVaultKey) GetVaultUrl() string + func (x *AzureKeyVaultKey) GetVersion() string + func (x *AzureKeyVaultKey) ProtoReflect() protoreflect.Message + func (x *AzureKeyVaultKey) Reset() + func (x *AzureKeyVaultKey) String() string + type DecryptRequest struct + Ciphertext []byte + Key *Key + func (*DecryptRequest) Descriptor() ([]byte, []int) + func (*DecryptRequest) ProtoMessage() + func (x *DecryptRequest) GetCiphertext() []byte + func (x *DecryptRequest) GetKey() *Key + func (x *DecryptRequest) ProtoReflect() protoreflect.Message + func (x *DecryptRequest) Reset() + func (x *DecryptRequest) String() string + type DecryptResponse struct + Plaintext []byte + func (*DecryptResponse) Descriptor() ([]byte, []int) + func (*DecryptResponse) ProtoMessage() + func (x *DecryptResponse) GetPlaintext() []byte + func (x *DecryptResponse) ProtoReflect() protoreflect.Message + func (x *DecryptResponse) Reset() + func (x *DecryptResponse) String() string + type EncryptRequest struct + Key *Key + Plaintext []byte + func (*EncryptRequest) Descriptor() ([]byte, []int) + func (*EncryptRequest) ProtoMessage() + func (x *EncryptRequest) GetKey() *Key + func (x *EncryptRequest) GetPlaintext() []byte + func (x *EncryptRequest) ProtoReflect() protoreflect.Message + func (x *EncryptRequest) Reset() + func (x *EncryptRequest) String() string + type EncryptResponse struct + Ciphertext []byte + func (*EncryptResponse) Descriptor() ([]byte, []int) + func (*EncryptResponse) ProtoMessage() + func (x *EncryptResponse) GetCiphertext() []byte + func (x *EncryptResponse) ProtoReflect() protoreflect.Message + func (x *EncryptResponse) Reset() + func (x *EncryptResponse) String() string + type GcpKmsKey struct + ResourceId string + func (*GcpKmsKey) Descriptor() ([]byte, []int) + func (*GcpKmsKey) ProtoMessage() + func (x *GcpKmsKey) GetResourceId() string + func (x *GcpKmsKey) ProtoReflect() protoreflect.Message + func (x *GcpKmsKey) Reset() + func (x *GcpKmsKey) String() string + type Key struct + KeyType isKey_KeyType + func KeyFromMasterKey(mk keys.MasterKey) Key + func (*Key) Descriptor() ([]byte, []int) + func (*Key) ProtoMessage() + func (m *Key) GetKeyType() isKey_KeyType + func (x *Key) GetAgeKey() *AgeKey + func (x *Key) GetAzureKeyvaultKey() *AzureKeyVaultKey + func (x *Key) GetGcpKmsKey() *GcpKmsKey + func (x *Key) GetKmsKey() *KmsKey + func (x *Key) GetPgpKey() *PgpKey + func (x *Key) GetVaultKey() *VaultKey + func (x *Key) ProtoReflect() protoreflect.Message + func (x *Key) Reset() + func (x *Key) String() string + type KeyServiceClient interface + Decrypt func(ctx context.Context, in *DecryptRequest, opts ...grpc.CallOption) (*DecryptResponse, error) + Encrypt func(ctx context.Context, in *EncryptRequest, opts ...grpc.CallOption) (*EncryptResponse, error) + func NewKeyServiceClient(cc grpc.ClientConnInterface) KeyServiceClient + type KeyServiceServer interface + Decrypt func(context.Context, *DecryptRequest) (*DecryptResponse, error) + Encrypt func(context.Context, *EncryptRequest) (*EncryptResponse, error) + type Key_AgeKey struct + AgeKey *AgeKey + type Key_AzureKeyvaultKey struct + AzureKeyvaultKey *AzureKeyVaultKey + type Key_GcpKmsKey struct + GcpKmsKey *GcpKmsKey + type Key_KmsKey struct + KmsKey *KmsKey + type Key_PgpKey struct + PgpKey *PgpKey + type Key_VaultKey struct + VaultKey *VaultKey + type KmsKey struct + Arn string + AwsProfile string + Context map[string]string + Role string + func (*KmsKey) Descriptor() ([]byte, []int) + func (*KmsKey) ProtoMessage() + func (x *KmsKey) GetArn() string + func (x *KmsKey) GetAwsProfile() string + func (x *KmsKey) GetContext() map[string]string + func (x *KmsKey) GetRole() string + func (x *KmsKey) ProtoReflect() protoreflect.Message + func (x *KmsKey) Reset() + func (x *KmsKey) String() string + type LocalClient struct + Server KeyServiceServer + func NewCustomLocalClient(server KeyServiceServer) LocalClient + func NewLocalClient() LocalClient + func (c LocalClient) Decrypt(ctx context.Context, req *DecryptRequest, opts ...grpc.CallOption) (*DecryptResponse, error) + func (c LocalClient) Encrypt(ctx context.Context, req *EncryptRequest, opts ...grpc.CallOption) (*EncryptResponse, error) + type PgpKey struct + Fingerprint string + func (*PgpKey) Descriptor() ([]byte, []int) + func (*PgpKey) ProtoMessage() + func (x *PgpKey) GetFingerprint() string + func (x *PgpKey) ProtoReflect() protoreflect.Message + func (x *PgpKey) Reset() + func (x *PgpKey) String() string + type Server struct + Prompt bool + func (ks Server) Decrypt(ctx context.Context, req *DecryptRequest) (*DecryptResponse, error) + func (ks Server) Encrypt(ctx context.Context, req *EncryptRequest) (*EncryptResponse, error) + type UnimplementedKeyServiceServer struct + func (*UnimplementedKeyServiceServer) Decrypt(context.Context, *DecryptRequest) (*DecryptResponse, error) + func (*UnimplementedKeyServiceServer) Encrypt(context.Context, *EncryptRequest) (*EncryptResponse, error) + type VaultKey struct + EnginePath string + KeyName string + VaultAddress string + func (*VaultKey) Descriptor() ([]byte, []int) + func (*VaultKey) ProtoMessage() + func (x *VaultKey) GetEnginePath() string + func (x *VaultKey) GetKeyName() string + func (x *VaultKey) GetVaultAddress() string + func (x *VaultKey) ProtoReflect() protoreflect.Message + func (x *VaultKey) Reset() + func (x *VaultKey) String() string