operationsv1

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2025 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Type                = "KeystoreInstanceKeyOperation"
	GRPCServiceFullName = "plugin.keystore.operations.v1.KeystoreInstanceKeyOperation"
)
View Source
const (
	KeystoreInstanceKeyOperation_GetKey_FullMethodName                    = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/GetKey"
	KeystoreInstanceKeyOperation_CreateKey_FullMethodName                 = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/CreateKey"
	KeystoreInstanceKeyOperation_DeleteKey_FullMethodName                 = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/DeleteKey"
	KeystoreInstanceKeyOperation_EnableKey_FullMethodName                 = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/EnableKey"
	KeystoreInstanceKeyOperation_DisableKey_FullMethodName                = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/DisableKey"
	KeystoreInstanceKeyOperation_GetImportParameters_FullMethodName       = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/GetImportParameters"
	KeystoreInstanceKeyOperation_ImportKeyMaterial_FullMethodName         = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/ImportKeyMaterial"
	KeystoreInstanceKeyOperation_ValidateKey_FullMethodName               = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/ValidateKey"
	KeystoreInstanceKeyOperation_ValidateKeyAccessData_FullMethodName     = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/ValidateKeyAccessData"
	KeystoreInstanceKeyOperation_TransformCryptoAccessData_FullMethodName = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/TransformCryptoAccessData"
	KeystoreInstanceKeyOperation_ExtractKeyRegion_FullMethodName          = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/ExtractKeyRegion"
)

Variables

View Source
var (
	KeyAlgorithm_name = map[int32]string{
		0: "KEY_ALGORITHM_UNSPECIFIED",
		1: "KEY_ALGORITHM_AES256",
		2: "KEY_ALGORITHM_RSA3072",
		3: "KEY_ALGORITHM_RSA4096",
	}
	KeyAlgorithm_value = map[string]int32{
		"KEY_ALGORITHM_UNSPECIFIED": 0,
		"KEY_ALGORITHM_AES256":      1,
		"KEY_ALGORITHM_RSA3072":     2,
		"KEY_ALGORITHM_RSA4096":     3,
	}
)

Enum value maps for KeyAlgorithm.

View Source
var (
	KeyType_name = map[int32]string{
		0: "KEY_TYPE_UNSPECIFIED",
		1: "KEY_TYPE_SYSTEM_MANAGED",
		2: "KEY_TYPE_BYOK",
		3: "KEY_TYPE_HYOK",
	}
	KeyType_value = map[string]int32{
		"KEY_TYPE_UNSPECIFIED":    0,
		"KEY_TYPE_SYSTEM_MANAGED": 1,
		"KEY_TYPE_BYOK":           2,
		"KEY_TYPE_HYOK":           3,
	}
)

Enum value maps for KeyType.

View Source
var File_plugin_keystore_operations_v1_operations_proto protoreflect.FileDescriptor
View Source
var KeystoreInstanceKeyOperation_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "plugin.keystore.operations.v1.KeystoreInstanceKeyOperation",
	HandlerType: (*KeystoreInstanceKeyOperationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetKey",
			Handler:    _KeystoreInstanceKeyOperation_GetKey_Handler,
		},
		{
			MethodName: "CreateKey",
			Handler:    _KeystoreInstanceKeyOperation_CreateKey_Handler,
		},
		{
			MethodName: "DeleteKey",
			Handler:    _KeystoreInstanceKeyOperation_DeleteKey_Handler,
		},
		{
			MethodName: "EnableKey",
			Handler:    _KeystoreInstanceKeyOperation_EnableKey_Handler,
		},
		{
			MethodName: "DisableKey",
			Handler:    _KeystoreInstanceKeyOperation_DisableKey_Handler,
		},
		{
			MethodName: "GetImportParameters",
			Handler:    _KeystoreInstanceKeyOperation_GetImportParameters_Handler,
		},
		{
			MethodName: "ImportKeyMaterial",
			Handler:    _KeystoreInstanceKeyOperation_ImportKeyMaterial_Handler,
		},
		{
			MethodName: "ValidateKey",
			Handler:    _KeystoreInstanceKeyOperation_ValidateKey_Handler,
		},
		{
			MethodName: "ValidateKeyAccessData",
			Handler:    _KeystoreInstanceKeyOperation_ValidateKeyAccessData_Handler,
		},
		{
			MethodName: "TransformCryptoAccessData",
			Handler:    _KeystoreInstanceKeyOperation_TransformCryptoAccessData_Handler,
		},
		{
			MethodName: "ExtractKeyRegion",
			Handler:    _KeystoreInstanceKeyOperation_ExtractKeyRegion_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "plugin/keystore/operations/v1/operations.proto",
}

KeystoreInstanceKeyOperation_ServiceDesc is the grpc.ServiceDesc for KeystoreInstanceKeyOperation service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func KeystoreInstanceKeyOperationPluginServer

func KeystoreInstanceKeyOperationPluginServer(server KeystoreInstanceKeyOperationServer) api.PluginServer

func RegisterKeystoreInstanceKeyOperationServer

func RegisterKeystoreInstanceKeyOperationServer(s grpc.ServiceRegistrar, srv KeystoreInstanceKeyOperationServer)

Types

type CreateKeyRequest

type CreateKeyRequest struct {
	Config    *v1.KeystoreInstanceConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	Algorithm KeyAlgorithm               `protobuf:"varint,2,opt,name=algorithm,proto3,enum=plugin.keystore.operations.v1.KeyAlgorithm" json:"algorithm,omitempty"`
	Id        *string                    `protobuf:"bytes,3,opt,name=id,proto3,oneof" json:"id,omitempty"`   // Optional predefined key ID
	Region    string                     `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` // The region in which to create the key
	KeyType   KeyType                    ``                                                                  // Key type (system-managed or BYOK)
	/* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

CreateKeyRequest contains parameters for key creation

func (*CreateKeyRequest) Descriptor deprecated

func (*CreateKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateKeyRequest) GetAlgorithm

func (x *CreateKeyRequest) GetAlgorithm() KeyAlgorithm

func (*CreateKeyRequest) GetConfig

func (x *CreateKeyRequest) GetConfig() *v1.KeystoreInstanceConfig

func (*CreateKeyRequest) GetId

func (x *CreateKeyRequest) GetId() string

func (*CreateKeyRequest) GetKeyType

func (x *CreateKeyRequest) GetKeyType() KeyType

func (*CreateKeyRequest) GetRegion

func (x *CreateKeyRequest) GetRegion() string

func (*CreateKeyRequest) ProtoMessage

func (*CreateKeyRequest) ProtoMessage()

func (*CreateKeyRequest) ProtoReflect

func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message

func (*CreateKeyRequest) Reset

func (x *CreateKeyRequest) Reset()

func (*CreateKeyRequest) String

func (x *CreateKeyRequest) String() string

func (*CreateKeyRequest) Validate

func (m *CreateKeyRequest) Validate() error

Validate checks the field values on CreateKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateKeyRequest) ValidateAll

func (m *CreateKeyRequest) ValidateAll() error

ValidateAll checks the field values on CreateKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateKeyRequestMultiError, or nil if none found.

type CreateKeyRequestMultiError

type CreateKeyRequestMultiError []error

CreateKeyRequestMultiError is an error wrapping multiple validation errors returned by CreateKeyRequest.ValidateAll() if the designated constraints aren't met.

func (CreateKeyRequestMultiError) AllErrors

func (m CreateKeyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateKeyRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateKeyRequestValidationError

type CreateKeyRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateKeyRequestValidationError is the validation error returned by CreateKeyRequest.Validate if the designated constraints aren't met.

func (CreateKeyRequestValidationError) Cause

Cause function returns cause value.

func (CreateKeyRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateKeyRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateKeyRequestValidationError) Field

Field function returns field value.

func (CreateKeyRequestValidationError) Key

Key function returns key value.

func (CreateKeyRequestValidationError) Reason

Reason function returns reason value.

type CreateKeyResponse

type CreateKeyResponse struct {
	KeyId  string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // The ID of the created key
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`            // The current status of the key (e.g., enabled, disabled)
	// contains filtered or unexported fields
}

func (*CreateKeyResponse) Descriptor deprecated

func (*CreateKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateKeyResponse.ProtoReflect.Descriptor instead.

func (*CreateKeyResponse) GetKeyId

func (x *CreateKeyResponse) GetKeyId() string

func (*CreateKeyResponse) GetStatus

func (x *CreateKeyResponse) GetStatus() string

func (*CreateKeyResponse) ProtoMessage

func (*CreateKeyResponse) ProtoMessage()

func (*CreateKeyResponse) ProtoReflect

func (x *CreateKeyResponse) ProtoReflect() protoreflect.Message

func (*CreateKeyResponse) Reset

func (x *CreateKeyResponse) Reset()

func (*CreateKeyResponse) String

func (x *CreateKeyResponse) String() string

func (*CreateKeyResponse) Validate

func (m *CreateKeyResponse) Validate() error

Validate checks the field values on CreateKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateKeyResponse) ValidateAll

func (m *CreateKeyResponse) ValidateAll() error

ValidateAll checks the field values on CreateKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateKeyResponseMultiError, or nil if none found.

type CreateKeyResponseMultiError

type CreateKeyResponseMultiError []error

CreateKeyResponseMultiError is an error wrapping multiple validation errors returned by CreateKeyResponse.ValidateAll() if the designated constraints aren't met.

func (CreateKeyResponseMultiError) AllErrors

func (m CreateKeyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateKeyResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateKeyResponseValidationError

type CreateKeyResponseValidationError struct {
	// contains filtered or unexported fields
}

CreateKeyResponseValidationError is the validation error returned by CreateKeyResponse.Validate if the designated constraints aren't met.

func (CreateKeyResponseValidationError) Cause

Cause function returns cause value.

func (CreateKeyResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateKeyResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateKeyResponseValidationError) Field

Field function returns field value.

func (CreateKeyResponseValidationError) Key

Key function returns key value.

func (CreateKeyResponseValidationError) Reason

Reason function returns reason value.

type DeleteKeyRequest

type DeleteKeyRequest struct {
	Parameters *RequestParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
	Window     *int32             `protobuf:"varint,2,opt,name=window,proto3,oneof" json:"window,omitempty"` // Optional deletion window in days
	// contains filtered or unexported fields
}

DeleteKeyRequest contains parameters for key deletion

func (*DeleteKeyRequest) Descriptor deprecated

func (*DeleteKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteKeyRequest) GetParameters

func (x *DeleteKeyRequest) GetParameters() *RequestParameters

func (*DeleteKeyRequest) GetWindow

func (x *DeleteKeyRequest) GetWindow() int32

func (*DeleteKeyRequest) ProtoMessage

func (*DeleteKeyRequest) ProtoMessage()

func (*DeleteKeyRequest) ProtoReflect

func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message

func (*DeleteKeyRequest) Reset

func (x *DeleteKeyRequest) Reset()

func (*DeleteKeyRequest) String

func (x *DeleteKeyRequest) String() string

func (*DeleteKeyRequest) Validate

func (m *DeleteKeyRequest) Validate() error

Validate checks the field values on DeleteKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteKeyRequest) ValidateAll

func (m *DeleteKeyRequest) ValidateAll() error

ValidateAll checks the field values on DeleteKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteKeyRequestMultiError, or nil if none found.

type DeleteKeyRequestMultiError

type DeleteKeyRequestMultiError []error

DeleteKeyRequestMultiError is an error wrapping multiple validation errors returned by DeleteKeyRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteKeyRequestMultiError) AllErrors

func (m DeleteKeyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteKeyRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteKeyRequestValidationError

type DeleteKeyRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteKeyRequestValidationError is the validation error returned by DeleteKeyRequest.Validate if the designated constraints aren't met.

func (DeleteKeyRequestValidationError) Cause

Cause function returns cause value.

func (DeleteKeyRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteKeyRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteKeyRequestValidationError) Field

Field function returns field value.

func (DeleteKeyRequestValidationError) Key

Key function returns key value.

func (DeleteKeyRequestValidationError) Reason

Reason function returns reason value.

type DeleteKeyResponse

type DeleteKeyResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteKeyResponse) Descriptor deprecated

func (*DeleteKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteKeyResponse.ProtoReflect.Descriptor instead.

func (*DeleteKeyResponse) ProtoMessage

func (*DeleteKeyResponse) ProtoMessage()

func (*DeleteKeyResponse) ProtoReflect

func (x *DeleteKeyResponse) ProtoReflect() protoreflect.Message

func (*DeleteKeyResponse) Reset

func (x *DeleteKeyResponse) Reset()

func (*DeleteKeyResponse) String

func (x *DeleteKeyResponse) String() string

func (*DeleteKeyResponse) Validate

func (m *DeleteKeyResponse) Validate() error

Validate checks the field values on DeleteKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteKeyResponse) ValidateAll

func (m *DeleteKeyResponse) ValidateAll() error

ValidateAll checks the field values on DeleteKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteKeyResponseMultiError, or nil if none found.

type DeleteKeyResponseMultiError

type DeleteKeyResponseMultiError []error

DeleteKeyResponseMultiError is an error wrapping multiple validation errors returned by DeleteKeyResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteKeyResponseMultiError) AllErrors

func (m DeleteKeyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteKeyResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteKeyResponseValidationError

type DeleteKeyResponseValidationError struct {
	// contains filtered or unexported fields
}

DeleteKeyResponseValidationError is the validation error returned by DeleteKeyResponse.Validate if the designated constraints aren't met.

func (DeleteKeyResponseValidationError) Cause

Cause function returns cause value.

func (DeleteKeyResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteKeyResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteKeyResponseValidationError) Field

Field function returns field value.

func (DeleteKeyResponseValidationError) Key

Key function returns key value.

func (DeleteKeyResponseValidationError) Reason

Reason function returns reason value.

type DisableKeyRequest

type DisableKeyRequest struct {
	Parameters *RequestParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

DisableKeyRequest contains parameters for key disablement

func (*DisableKeyRequest) Descriptor deprecated

func (*DisableKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableKeyRequest.ProtoReflect.Descriptor instead.

func (*DisableKeyRequest) GetParameters

func (x *DisableKeyRequest) GetParameters() *RequestParameters

func (*DisableKeyRequest) ProtoMessage

func (*DisableKeyRequest) ProtoMessage()

func (*DisableKeyRequest) ProtoReflect

func (x *DisableKeyRequest) ProtoReflect() protoreflect.Message

func (*DisableKeyRequest) Reset

func (x *DisableKeyRequest) Reset()

func (*DisableKeyRequest) String

func (x *DisableKeyRequest) String() string

func (*DisableKeyRequest) Validate

func (m *DisableKeyRequest) Validate() error

Validate checks the field values on DisableKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DisableKeyRequest) ValidateAll

func (m *DisableKeyRequest) ValidateAll() error

ValidateAll checks the field values on DisableKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DisableKeyRequestMultiError, or nil if none found.

type DisableKeyRequestMultiError

type DisableKeyRequestMultiError []error

DisableKeyRequestMultiError is an error wrapping multiple validation errors returned by DisableKeyRequest.ValidateAll() if the designated constraints aren't met.

func (DisableKeyRequestMultiError) AllErrors

func (m DisableKeyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DisableKeyRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DisableKeyRequestValidationError

type DisableKeyRequestValidationError struct {
	// contains filtered or unexported fields
}

DisableKeyRequestValidationError is the validation error returned by DisableKeyRequest.Validate if the designated constraints aren't met.

func (DisableKeyRequestValidationError) Cause

Cause function returns cause value.

func (DisableKeyRequestValidationError) Error

Error satisfies the builtin error interface

func (DisableKeyRequestValidationError) ErrorName

ErrorName returns error name.

func (DisableKeyRequestValidationError) Field

Field function returns field value.

func (DisableKeyRequestValidationError) Key

Key function returns key value.

func (DisableKeyRequestValidationError) Reason

Reason function returns reason value.

type DisableKeyResponse

type DisableKeyResponse struct {
	// contains filtered or unexported fields
}

func (*DisableKeyResponse) Descriptor deprecated

func (*DisableKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use DisableKeyResponse.ProtoReflect.Descriptor instead.

func (*DisableKeyResponse) ProtoMessage

func (*DisableKeyResponse) ProtoMessage()

func (*DisableKeyResponse) ProtoReflect

func (x *DisableKeyResponse) ProtoReflect() protoreflect.Message

func (*DisableKeyResponse) Reset

func (x *DisableKeyResponse) Reset()

func (*DisableKeyResponse) String

func (x *DisableKeyResponse) String() string

func (*DisableKeyResponse) Validate

func (m *DisableKeyResponse) Validate() error

Validate checks the field values on DisableKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DisableKeyResponse) ValidateAll

func (m *DisableKeyResponse) ValidateAll() error

ValidateAll checks the field values on DisableKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DisableKeyResponseMultiError, or nil if none found.

type DisableKeyResponseMultiError

type DisableKeyResponseMultiError []error

DisableKeyResponseMultiError is an error wrapping multiple validation errors returned by DisableKeyResponse.ValidateAll() if the designated constraints aren't met.

func (DisableKeyResponseMultiError) AllErrors

func (m DisableKeyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DisableKeyResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DisableKeyResponseValidationError

type DisableKeyResponseValidationError struct {
	// contains filtered or unexported fields
}

DisableKeyResponseValidationError is the validation error returned by DisableKeyResponse.Validate if the designated constraints aren't met.

func (DisableKeyResponseValidationError) Cause

Cause function returns cause value.

func (DisableKeyResponseValidationError) Error

Error satisfies the builtin error interface

func (DisableKeyResponseValidationError) ErrorName

ErrorName returns error name.

func (DisableKeyResponseValidationError) Field

Field function returns field value.

func (DisableKeyResponseValidationError) Key

Key function returns key value.

func (DisableKeyResponseValidationError) Reason

Reason function returns reason value.

type EnableKeyRequest

type EnableKeyRequest struct {
	Parameters *RequestParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

EnableKeyRequest contains parameters for key enablement

func (*EnableKeyRequest) Descriptor deprecated

func (*EnableKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnableKeyRequest.ProtoReflect.Descriptor instead.

func (*EnableKeyRequest) GetParameters

func (x *EnableKeyRequest) GetParameters() *RequestParameters

func (*EnableKeyRequest) ProtoMessage

func (*EnableKeyRequest) ProtoMessage()

func (*EnableKeyRequest) ProtoReflect

func (x *EnableKeyRequest) ProtoReflect() protoreflect.Message

func (*EnableKeyRequest) Reset

func (x *EnableKeyRequest) Reset()

func (*EnableKeyRequest) String

func (x *EnableKeyRequest) String() string

func (*EnableKeyRequest) Validate

func (m *EnableKeyRequest) Validate() error

Validate checks the field values on EnableKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EnableKeyRequest) ValidateAll

func (m *EnableKeyRequest) ValidateAll() error

ValidateAll checks the field values on EnableKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EnableKeyRequestMultiError, or nil if none found.

type EnableKeyRequestMultiError

type EnableKeyRequestMultiError []error

EnableKeyRequestMultiError is an error wrapping multiple validation errors returned by EnableKeyRequest.ValidateAll() if the designated constraints aren't met.

func (EnableKeyRequestMultiError) AllErrors

func (m EnableKeyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EnableKeyRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type EnableKeyRequestValidationError

type EnableKeyRequestValidationError struct {
	// contains filtered or unexported fields
}

EnableKeyRequestValidationError is the validation error returned by EnableKeyRequest.Validate if the designated constraints aren't met.

func (EnableKeyRequestValidationError) Cause

Cause function returns cause value.

func (EnableKeyRequestValidationError) Error

Error satisfies the builtin error interface

func (EnableKeyRequestValidationError) ErrorName

ErrorName returns error name.

func (EnableKeyRequestValidationError) Field

Field function returns field value.

func (EnableKeyRequestValidationError) Key

Key function returns key value.

func (EnableKeyRequestValidationError) Reason

Reason function returns reason value.

type EnableKeyResponse

type EnableKeyResponse struct {
	// contains filtered or unexported fields
}

func (*EnableKeyResponse) Descriptor deprecated

func (*EnableKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use EnableKeyResponse.ProtoReflect.Descriptor instead.

func (*EnableKeyResponse) ProtoMessage

func (*EnableKeyResponse) ProtoMessage()

func (*EnableKeyResponse) ProtoReflect

func (x *EnableKeyResponse) ProtoReflect() protoreflect.Message

func (*EnableKeyResponse) Reset

func (x *EnableKeyResponse) Reset()

func (*EnableKeyResponse) String

func (x *EnableKeyResponse) String() string

func (*EnableKeyResponse) Validate

func (m *EnableKeyResponse) Validate() error

Validate checks the field values on EnableKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*EnableKeyResponse) ValidateAll

func (m *EnableKeyResponse) ValidateAll() error

ValidateAll checks the field values on EnableKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EnableKeyResponseMultiError, or nil if none found.

type EnableKeyResponseMultiError

type EnableKeyResponseMultiError []error

EnableKeyResponseMultiError is an error wrapping multiple validation errors returned by EnableKeyResponse.ValidateAll() if the designated constraints aren't met.

func (EnableKeyResponseMultiError) AllErrors

func (m EnableKeyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EnableKeyResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type EnableKeyResponseValidationError

type EnableKeyResponseValidationError struct {
	// contains filtered or unexported fields
}

EnableKeyResponseValidationError is the validation error returned by EnableKeyResponse.Validate if the designated constraints aren't met.

func (EnableKeyResponseValidationError) Cause

Cause function returns cause value.

func (EnableKeyResponseValidationError) Error

Error satisfies the builtin error interface

func (EnableKeyResponseValidationError) ErrorName

ErrorName returns error name.

func (EnableKeyResponseValidationError) Field

Field function returns field value.

func (EnableKeyResponseValidationError) Key

Key function returns key value.

func (EnableKeyResponseValidationError) Reason

Reason function returns reason value.

type ExtractKeyRegionRequest added in v0.3.0

type ExtractKeyRegionRequest struct {
	NativeKeyId          string           `protobuf:"bytes,1,opt,name=native_key_id,json=nativeKeyId,proto3" json:"native_key_id,omitempty"`                            // The region can be derived from the native key ID
	ManagementAccessData *structpb.Struct `protobuf:"bytes,2,opt,name=management_access_data,json=managementAccessData,proto3" json:"management_access_data,omitempty"` // Or the access details of the management role
	// contains filtered or unexported fields
}

ExtractKeyRegionRequest contains parameters for extracting the key region

func (*ExtractKeyRegionRequest) Descriptor deprecated added in v0.3.0

func (*ExtractKeyRegionRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExtractKeyRegionRequest.ProtoReflect.Descriptor instead.

func (*ExtractKeyRegionRequest) GetManagementAccessData added in v0.3.0

func (x *ExtractKeyRegionRequest) GetManagementAccessData() *structpb.Struct

func (*ExtractKeyRegionRequest) GetNativeKeyId added in v0.3.0

func (x *ExtractKeyRegionRequest) GetNativeKeyId() string

func (*ExtractKeyRegionRequest) ProtoMessage added in v0.3.0

func (*ExtractKeyRegionRequest) ProtoMessage()

func (*ExtractKeyRegionRequest) ProtoReflect added in v0.3.0

func (x *ExtractKeyRegionRequest) ProtoReflect() protoreflect.Message

func (*ExtractKeyRegionRequest) Reset added in v0.3.0

func (x *ExtractKeyRegionRequest) Reset()

func (*ExtractKeyRegionRequest) String added in v0.3.0

func (x *ExtractKeyRegionRequest) String() string

func (*ExtractKeyRegionRequest) Validate added in v0.3.0

func (m *ExtractKeyRegionRequest) Validate() error

Validate checks the field values on ExtractKeyRegionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ExtractKeyRegionRequest) ValidateAll added in v0.3.0

func (m *ExtractKeyRegionRequest) ValidateAll() error

ValidateAll checks the field values on ExtractKeyRegionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExtractKeyRegionRequestMultiError, or nil if none found.

type ExtractKeyRegionRequestMultiError added in v0.3.0

type ExtractKeyRegionRequestMultiError []error

ExtractKeyRegionRequestMultiError is an error wrapping multiple validation errors returned by ExtractKeyRegionRequest.ValidateAll() if the designated constraints aren't met.

func (ExtractKeyRegionRequestMultiError) AllErrors added in v0.3.0

func (m ExtractKeyRegionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExtractKeyRegionRequestMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type ExtractKeyRegionRequestValidationError added in v0.3.0

type ExtractKeyRegionRequestValidationError struct {
	// contains filtered or unexported fields
}

ExtractKeyRegionRequestValidationError is the validation error returned by ExtractKeyRegionRequest.Validate if the designated constraints aren't met.

func (ExtractKeyRegionRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (ExtractKeyRegionRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (ExtractKeyRegionRequestValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (ExtractKeyRegionRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (ExtractKeyRegionRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (ExtractKeyRegionRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type ExtractKeyRegionResponse added in v0.3.0

type ExtractKeyRegionResponse struct {
	Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // The extracted region from the key attributes
	// contains filtered or unexported fields
}

ExtractKeyRegionResponse contains the extracted key region

func (*ExtractKeyRegionResponse) Descriptor deprecated added in v0.3.0

func (*ExtractKeyRegionResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExtractKeyRegionResponse.ProtoReflect.Descriptor instead.

func (*ExtractKeyRegionResponse) GetRegion added in v0.3.0

func (x *ExtractKeyRegionResponse) GetRegion() string

func (*ExtractKeyRegionResponse) ProtoMessage added in v0.3.0

func (*ExtractKeyRegionResponse) ProtoMessage()

func (*ExtractKeyRegionResponse) ProtoReflect added in v0.3.0

func (x *ExtractKeyRegionResponse) ProtoReflect() protoreflect.Message

func (*ExtractKeyRegionResponse) Reset added in v0.3.0

func (x *ExtractKeyRegionResponse) Reset()

func (*ExtractKeyRegionResponse) String added in v0.3.0

func (x *ExtractKeyRegionResponse) String() string

func (*ExtractKeyRegionResponse) Validate added in v0.3.0

func (m *ExtractKeyRegionResponse) Validate() error

Validate checks the field values on ExtractKeyRegionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ExtractKeyRegionResponse) ValidateAll added in v0.3.0

func (m *ExtractKeyRegionResponse) ValidateAll() error

ValidateAll checks the field values on ExtractKeyRegionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExtractKeyRegionResponseMultiError, or nil if none found.

type ExtractKeyRegionResponseMultiError added in v0.3.0

type ExtractKeyRegionResponseMultiError []error

ExtractKeyRegionResponseMultiError is an error wrapping multiple validation errors returned by ExtractKeyRegionResponse.ValidateAll() if the designated constraints aren't met.

func (ExtractKeyRegionResponseMultiError) AllErrors added in v0.3.0

func (m ExtractKeyRegionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExtractKeyRegionResponseMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type ExtractKeyRegionResponseValidationError added in v0.3.0

type ExtractKeyRegionResponseValidationError struct {
	// contains filtered or unexported fields
}

ExtractKeyRegionResponseValidationError is the validation error returned by ExtractKeyRegionResponse.Validate if the designated constraints aren't met.

func (ExtractKeyRegionResponseValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (ExtractKeyRegionResponseValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (ExtractKeyRegionResponseValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (ExtractKeyRegionResponseValidationError) Field added in v0.3.0

Field function returns field value.

func (ExtractKeyRegionResponseValidationError) Key added in v0.3.0

Key function returns key value.

func (ExtractKeyRegionResponseValidationError) Reason added in v0.3.0

Reason function returns reason value.

type GetImportParametersRequest

type GetImportParametersRequest struct {
	Parameters *RequestParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
	Algorithm  KeyAlgorithm       `protobuf:"varint,2,opt,name=algorithm,proto3,enum=plugin.keystore.operations.v1.KeyAlgorithm" json:"algorithm,omitempty"`
	// contains filtered or unexported fields
}

GetImportParametersRequest contains parameters for retrieving import parameters

func (*GetImportParametersRequest) Descriptor deprecated

func (*GetImportParametersRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetImportParametersRequest.ProtoReflect.Descriptor instead.

func (*GetImportParametersRequest) GetAlgorithm

func (x *GetImportParametersRequest) GetAlgorithm() KeyAlgorithm

func (*GetImportParametersRequest) GetParameters

func (x *GetImportParametersRequest) GetParameters() *RequestParameters

func (*GetImportParametersRequest) ProtoMessage

func (*GetImportParametersRequest) ProtoMessage()

func (*GetImportParametersRequest) ProtoReflect

func (*GetImportParametersRequest) Reset

func (x *GetImportParametersRequest) Reset()

func (*GetImportParametersRequest) String

func (x *GetImportParametersRequest) String() string

func (*GetImportParametersRequest) Validate

func (m *GetImportParametersRequest) Validate() error

Validate checks the field values on GetImportParametersRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetImportParametersRequest) ValidateAll

func (m *GetImportParametersRequest) ValidateAll() error

ValidateAll checks the field values on GetImportParametersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetImportParametersRequestMultiError, or nil if none found.

type GetImportParametersRequestMultiError

type GetImportParametersRequestMultiError []error

GetImportParametersRequestMultiError is an error wrapping multiple validation errors returned by GetImportParametersRequest.ValidateAll() if the designated constraints aren't met.

func (GetImportParametersRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetImportParametersRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetImportParametersRequestValidationError

type GetImportParametersRequestValidationError struct {
	// contains filtered or unexported fields
}

GetImportParametersRequestValidationError is the validation error returned by GetImportParametersRequest.Validate if the designated constraints aren't met.

func (GetImportParametersRequestValidationError) Cause

Cause function returns cause value.

func (GetImportParametersRequestValidationError) Error

Error satisfies the builtin error interface

func (GetImportParametersRequestValidationError) ErrorName

ErrorName returns error name.

func (GetImportParametersRequestValidationError) Field

Field function returns field value.

func (GetImportParametersRequestValidationError) Key

Key function returns key value.

func (GetImportParametersRequestValidationError) Reason

Reason function returns reason value.

type GetImportParametersResponse

type GetImportParametersResponse struct {
	KeyId            string           `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	ImportParameters *structpb.Struct `protobuf:"bytes,2,opt,name=import_parameters,json=importParameters,proto3" json:"import_parameters,omitempty"` // The parameters needed for importing key material
	// contains filtered or unexported fields
}

ImportKeyMaterialRequest contains parameters for importing key material

func (*GetImportParametersResponse) Descriptor deprecated

func (*GetImportParametersResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetImportParametersResponse.ProtoReflect.Descriptor instead.

func (*GetImportParametersResponse) GetImportParameters

func (x *GetImportParametersResponse) GetImportParameters() *structpb.Struct

func (*GetImportParametersResponse) GetKeyId

func (x *GetImportParametersResponse) GetKeyId() string

func (*GetImportParametersResponse) ProtoMessage

func (*GetImportParametersResponse) ProtoMessage()

func (*GetImportParametersResponse) ProtoReflect

func (*GetImportParametersResponse) Reset

func (x *GetImportParametersResponse) Reset()

func (*GetImportParametersResponse) String

func (x *GetImportParametersResponse) String() string

func (*GetImportParametersResponse) Validate

func (m *GetImportParametersResponse) Validate() error

Validate checks the field values on GetImportParametersResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetImportParametersResponse) ValidateAll

func (m *GetImportParametersResponse) ValidateAll() error

ValidateAll checks the field values on GetImportParametersResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetImportParametersResponseMultiError, or nil if none found.

type GetImportParametersResponseMultiError

type GetImportParametersResponseMultiError []error

GetImportParametersResponseMultiError is an error wrapping multiple validation errors returned by GetImportParametersResponse.ValidateAll() if the designated constraints aren't met.

func (GetImportParametersResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetImportParametersResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetImportParametersResponseValidationError

type GetImportParametersResponseValidationError struct {
	// contains filtered or unexported fields
}

GetImportParametersResponseValidationError is the validation error returned by GetImportParametersResponse.Validate if the designated constraints aren't met.

func (GetImportParametersResponseValidationError) Cause

Cause function returns cause value.

func (GetImportParametersResponseValidationError) Error

Error satisfies the builtin error interface

func (GetImportParametersResponseValidationError) ErrorName

ErrorName returns error name.

func (GetImportParametersResponseValidationError) Field

Field function returns field value.

func (GetImportParametersResponseValidationError) Key

Key function returns key value.

func (GetImportParametersResponseValidationError) Reason

Reason function returns reason value.

type GetKeyRequest

type GetKeyRequest struct {
	Parameters *RequestParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// contains filtered or unexported fields
}

GetKeyRequest contains parameters for key retrieval

func (*GetKeyRequest) Descriptor deprecated

func (*GetKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetKeyRequest.ProtoReflect.Descriptor instead.

func (*GetKeyRequest) GetParameters

func (x *GetKeyRequest) GetParameters() *RequestParameters

func (*GetKeyRequest) ProtoMessage

func (*GetKeyRequest) ProtoMessage()

func (*GetKeyRequest) ProtoReflect

func (x *GetKeyRequest) ProtoReflect() protoreflect.Message

func (*GetKeyRequest) Reset

func (x *GetKeyRequest) Reset()

func (*GetKeyRequest) String

func (x *GetKeyRequest) String() string

func (*GetKeyRequest) Validate

func (m *GetKeyRequest) Validate() error

Validate checks the field values on GetKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetKeyRequest) ValidateAll

func (m *GetKeyRequest) ValidateAll() error

ValidateAll checks the field values on GetKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetKeyRequestMultiError, or nil if none found.

type GetKeyRequestMultiError

type GetKeyRequestMultiError []error

GetKeyRequestMultiError is an error wrapping multiple validation errors returned by GetKeyRequest.ValidateAll() if the designated constraints aren't met.

func (GetKeyRequestMultiError) AllErrors

func (m GetKeyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetKeyRequestMultiError) Error

func (m GetKeyRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetKeyRequestValidationError

type GetKeyRequestValidationError struct {
	// contains filtered or unexported fields
}

GetKeyRequestValidationError is the validation error returned by GetKeyRequest.Validate if the designated constraints aren't met.

func (GetKeyRequestValidationError) Cause

Cause function returns cause value.

func (GetKeyRequestValidationError) Error

Error satisfies the builtin error interface

func (GetKeyRequestValidationError) ErrorName

func (e GetKeyRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetKeyRequestValidationError) Field

Field function returns field value.

func (GetKeyRequestValidationError) Key

Key function returns key value.

func (GetKeyRequestValidationError) Reason

Reason function returns reason value.

type GetKeyResponse

type GetKeyResponse struct {
	KeyId     string       `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`                                             // The ID of the retrieved key
	Algorithm KeyAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=plugin.keystore.operations.v1.KeyAlgorithm" json:"algorithm,omitempty"` // The algorithm used for the key
	Status    string       `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`                                                        // The current status of the key (e.g., enabled, disabled)
	Usage     string       `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"`                                                          // The intended usage of the key (e.g., encryption, signing)
	// contains filtered or unexported fields
}

func (*GetKeyResponse) Descriptor deprecated

func (*GetKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetKeyResponse.ProtoReflect.Descriptor instead.

func (*GetKeyResponse) GetAlgorithm

func (x *GetKeyResponse) GetAlgorithm() KeyAlgorithm

func (*GetKeyResponse) GetKeyId

func (x *GetKeyResponse) GetKeyId() string

func (*GetKeyResponse) GetStatus

func (x *GetKeyResponse) GetStatus() string

func (*GetKeyResponse) GetUsage

func (x *GetKeyResponse) GetUsage() string

func (*GetKeyResponse) ProtoMessage

func (*GetKeyResponse) ProtoMessage()

func (*GetKeyResponse) ProtoReflect

func (x *GetKeyResponse) ProtoReflect() protoreflect.Message

func (*GetKeyResponse) Reset

func (x *GetKeyResponse) Reset()

func (*GetKeyResponse) String

func (x *GetKeyResponse) String() string

func (*GetKeyResponse) Validate

func (m *GetKeyResponse) Validate() error

Validate checks the field values on GetKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetKeyResponse) ValidateAll

func (m *GetKeyResponse) ValidateAll() error

ValidateAll checks the field values on GetKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetKeyResponseMultiError, or nil if none found.

type GetKeyResponseMultiError

type GetKeyResponseMultiError []error

GetKeyResponseMultiError is an error wrapping multiple validation errors returned by GetKeyResponse.ValidateAll() if the designated constraints aren't met.

func (GetKeyResponseMultiError) AllErrors

func (m GetKeyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetKeyResponseMultiError) Error

func (m GetKeyResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetKeyResponseValidationError

type GetKeyResponseValidationError struct {
	// contains filtered or unexported fields
}

GetKeyResponseValidationError is the validation error returned by GetKeyResponse.Validate if the designated constraints aren't met.

func (GetKeyResponseValidationError) Cause

Cause function returns cause value.

func (GetKeyResponseValidationError) Error

Error satisfies the builtin error interface

func (GetKeyResponseValidationError) ErrorName

func (e GetKeyResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetKeyResponseValidationError) Field

Field function returns field value.

func (GetKeyResponseValidationError) Key

Key function returns key value.

func (GetKeyResponseValidationError) Reason

Reason function returns reason value.

type ImportKeyMaterialRequest

type ImportKeyMaterialRequest struct {
	Parameters           *RequestParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
	ImportParameters     *structpb.Struct   `protobuf:"bytes,2,opt,name=import_parameters,json=importParameters,proto3" json:"import_parameters,omitempty"`               // The parameters needed for importing key material
	EncryptedKeyMaterial string             `protobuf:"bytes,3,opt,name=encrypted_key_material,json=encryptedKeyMaterial,proto3" json:"encrypted_key_material,omitempty"` // The encrypted key material to be imported
	// contains filtered or unexported fields
}

ImportKeyMaterialRequest contains parameters for importing key material

func (*ImportKeyMaterialRequest) Descriptor deprecated

func (*ImportKeyMaterialRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImportKeyMaterialRequest.ProtoReflect.Descriptor instead.

func (*ImportKeyMaterialRequest) GetEncryptedKeyMaterial

func (x *ImportKeyMaterialRequest) GetEncryptedKeyMaterial() string

func (*ImportKeyMaterialRequest) GetImportParameters

func (x *ImportKeyMaterialRequest) GetImportParameters() *structpb.Struct

func (*ImportKeyMaterialRequest) GetParameters

func (x *ImportKeyMaterialRequest) GetParameters() *RequestParameters

func (*ImportKeyMaterialRequest) ProtoMessage

func (*ImportKeyMaterialRequest) ProtoMessage()

func (*ImportKeyMaterialRequest) ProtoReflect

func (x *ImportKeyMaterialRequest) ProtoReflect() protoreflect.Message

func (*ImportKeyMaterialRequest) Reset

func (x *ImportKeyMaterialRequest) Reset()

func (*ImportKeyMaterialRequest) String

func (x *ImportKeyMaterialRequest) String() string

func (*ImportKeyMaterialRequest) Validate

func (m *ImportKeyMaterialRequest) Validate() error

Validate checks the field values on ImportKeyMaterialRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ImportKeyMaterialRequest) ValidateAll

func (m *ImportKeyMaterialRequest) ValidateAll() error

ValidateAll checks the field values on ImportKeyMaterialRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ImportKeyMaterialRequestMultiError, or nil if none found.

type ImportKeyMaterialRequestMultiError

type ImportKeyMaterialRequestMultiError []error

ImportKeyMaterialRequestMultiError is an error wrapping multiple validation errors returned by ImportKeyMaterialRequest.ValidateAll() if the designated constraints aren't met.

func (ImportKeyMaterialRequestMultiError) AllErrors

func (m ImportKeyMaterialRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ImportKeyMaterialRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ImportKeyMaterialRequestValidationError

type ImportKeyMaterialRequestValidationError struct {
	// contains filtered or unexported fields
}

ImportKeyMaterialRequestValidationError is the validation error returned by ImportKeyMaterialRequest.Validate if the designated constraints aren't met.

func (ImportKeyMaterialRequestValidationError) Cause

Cause function returns cause value.

func (ImportKeyMaterialRequestValidationError) Error

Error satisfies the builtin error interface

func (ImportKeyMaterialRequestValidationError) ErrorName

ErrorName returns error name.

func (ImportKeyMaterialRequestValidationError) Field

Field function returns field value.

func (ImportKeyMaterialRequestValidationError) Key

Key function returns key value.

func (ImportKeyMaterialRequestValidationError) Reason

Reason function returns reason value.

type ImportKeyMaterialResponse

type ImportKeyMaterialResponse struct {
	// contains filtered or unexported fields
}

ImportKeyMaterialResponse contains the response for key material import

func (*ImportKeyMaterialResponse) Descriptor deprecated

func (*ImportKeyMaterialResponse) Descriptor() ([]byte, []int)

Deprecated: Use ImportKeyMaterialResponse.ProtoReflect.Descriptor instead.

func (*ImportKeyMaterialResponse) ProtoMessage

func (*ImportKeyMaterialResponse) ProtoMessage()

func (*ImportKeyMaterialResponse) ProtoReflect

func (*ImportKeyMaterialResponse) Reset

func (x *ImportKeyMaterialResponse) Reset()

func (*ImportKeyMaterialResponse) String

func (x *ImportKeyMaterialResponse) String() string

func (*ImportKeyMaterialResponse) Validate

func (m *ImportKeyMaterialResponse) Validate() error

Validate checks the field values on ImportKeyMaterialResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ImportKeyMaterialResponse) ValidateAll

func (m *ImportKeyMaterialResponse) ValidateAll() error

ValidateAll checks the field values on ImportKeyMaterialResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ImportKeyMaterialResponseMultiError, or nil if none found.

type ImportKeyMaterialResponseMultiError

type ImportKeyMaterialResponseMultiError []error

ImportKeyMaterialResponseMultiError is an error wrapping multiple validation errors returned by ImportKeyMaterialResponse.ValidateAll() if the designated constraints aren't met.

func (ImportKeyMaterialResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ImportKeyMaterialResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ImportKeyMaterialResponseValidationError

type ImportKeyMaterialResponseValidationError struct {
	// contains filtered or unexported fields
}

ImportKeyMaterialResponseValidationError is the validation error returned by ImportKeyMaterialResponse.Validate if the designated constraints aren't met.

func (ImportKeyMaterialResponseValidationError) Cause

Cause function returns cause value.

func (ImportKeyMaterialResponseValidationError) Error

Error satisfies the builtin error interface

func (ImportKeyMaterialResponseValidationError) ErrorName

ErrorName returns error name.

func (ImportKeyMaterialResponseValidationError) Field

Field function returns field value.

func (ImportKeyMaterialResponseValidationError) Key

Key function returns key value.

func (ImportKeyMaterialResponseValidationError) Reason

Reason function returns reason value.

type KeyAlgorithm

type KeyAlgorithm int32

KeyAlgorithm defines the supported key algorithms across all operations

const (
	KeyAlgorithm_KEY_ALGORITHM_UNSPECIFIED KeyAlgorithm = 0
	KeyAlgorithm_KEY_ALGORITHM_AES256      KeyAlgorithm = 1
	KeyAlgorithm_KEY_ALGORITHM_RSA3072     KeyAlgorithm = 2
	KeyAlgorithm_KEY_ALGORITHM_RSA4096     KeyAlgorithm = 3
)

func (KeyAlgorithm) Descriptor

func (KeyAlgorithm) Enum

func (x KeyAlgorithm) Enum() *KeyAlgorithm

func (KeyAlgorithm) EnumDescriptor deprecated

func (KeyAlgorithm) EnumDescriptor() ([]byte, []int)

Deprecated: Use KeyAlgorithm.Descriptor instead.

func (KeyAlgorithm) Number

func (KeyAlgorithm) String

func (x KeyAlgorithm) String() string

func (KeyAlgorithm) Type

type KeyType

type KeyType int32
const (
	KeyType_KEY_TYPE_UNSPECIFIED    KeyType = 0
	KeyType_KEY_TYPE_SYSTEM_MANAGED KeyType = 1 // System-managed key
	KeyType_KEY_TYPE_BYOK           KeyType = 2 // Bring Your Own Key
	KeyType_KEY_TYPE_HYOK           KeyType = 3 // Hold Your Own Key
)

func (KeyType) Descriptor

func (KeyType) Descriptor() protoreflect.EnumDescriptor

func (KeyType) Enum

func (x KeyType) Enum() *KeyType

func (KeyType) EnumDescriptor deprecated

func (KeyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use KeyType.Descriptor instead.

func (KeyType) Number

func (x KeyType) Number() protoreflect.EnumNumber

func (KeyType) String

func (x KeyType) String() string

func (KeyType) Type

func (KeyType) Type() protoreflect.EnumType

type KeystoreInstanceKeyOperationClient

type KeystoreInstanceKeyOperationClient interface {
	// GetKey retrieves the details of a key by its ID
	// * Returns error "code = InvalidArgument desc = failed to authenticate with the keystore provider"
	// if the provided access data is invalid
	// * Returns error "code = NotFound desc = key not found in the keystore provider"
	// if the key does not exist
	GetKey(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*GetKeyResponse, error)
	// CreateKey generates a new key with the specified algorithm
	CreateKey(ctx context.Context, in *CreateKeyRequest, opts ...grpc.CallOption) (*CreateKeyResponse, error)
	// DeleteKey removes a key, optionally with a deletion window
	DeleteKey(ctx context.Context, in *DeleteKeyRequest, opts ...grpc.CallOption) (*DeleteKeyResponse, error)
	// EnableKey activates a previously disabled key
	EnableKey(ctx context.Context, in *EnableKeyRequest, opts ...grpc.CallOption) (*EnableKeyResponse, error)
	// DisableKey deactivates a key while maintaining its existence
	DisableKey(ctx context.Context, in *DisableKeyRequest, opts ...grpc.CallOption) (*DisableKeyResponse, error)
	// Gets the parameters needed for importing key material
	GetImportParameters(ctx context.Context, in *GetImportParametersRequest, opts ...grpc.CallOption) (*GetImportParametersResponse, error)
	// Imports key material into a KMS key
	ImportKeyMaterial(ctx context.Context, in *ImportKeyMaterialRequest, opts ...grpc.CallOption) (*ImportKeyMaterialResponse, error)
	// Validate the key attributes against the plugin's requirements
	ValidateKey(ctx context.Context, in *ValidateKeyRequest, opts ...grpc.CallOption) (*ValidateKeyResponse, error)
	// ValidateKeyAccessData checks the access data for key management and crypto operations
	ValidateKeyAccessData(ctx context.Context, in *ValidateKeyAccessDataRequest, opts ...grpc.CallOption) (*ValidateKeyAccessDataResponse, error)
	// TransformCryptoAccessData transforms the JSON-stored crypto access data into protobuf wire format for a given key
	TransformCryptoAccessData(ctx context.Context, in *TransformCryptoAccessDataRequest, opts ...grpc.CallOption) (*TransformCryptoAccessDataResponse, error)
	// ExtractKeyRegion extracts the region from key attributes
	ExtractKeyRegion(ctx context.Context, in *ExtractKeyRegionRequest, opts ...grpc.CallOption) (*ExtractKeyRegionResponse, error)
}

KeystoreInstanceKeyOperationClient is the client API for KeystoreInstanceKeyOperation service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type KeystoreInstanceKeyOperationPluginClient

type KeystoreInstanceKeyOperationPluginClient struct {
	KeystoreInstanceKeyOperationClient
}

func (*KeystoreInstanceKeyOperationPluginClient) GRPCServiceName

func (c *KeystoreInstanceKeyOperationPluginClient) GRPCServiceName() string

func (*KeystoreInstanceKeyOperationPluginClient) InitClient

func (*KeystoreInstanceKeyOperationPluginClient) IsInitialized

func (KeystoreInstanceKeyOperationPluginClient) Type

type KeystoreInstanceKeyOperationServer

type KeystoreInstanceKeyOperationServer interface {
	// GetKey retrieves the details of a key by its ID
	// * Returns error "code = InvalidArgument desc = failed to authenticate with the keystore provider"
	// if the provided access data is invalid
	// * Returns error "code = NotFound desc = key not found in the keystore provider"
	// if the key does not exist
	GetKey(context.Context, *GetKeyRequest) (*GetKeyResponse, error)
	// CreateKey generates a new key with the specified algorithm
	CreateKey(context.Context, *CreateKeyRequest) (*CreateKeyResponse, error)
	// DeleteKey removes a key, optionally with a deletion window
	DeleteKey(context.Context, *DeleteKeyRequest) (*DeleteKeyResponse, error)
	// EnableKey activates a previously disabled key
	EnableKey(context.Context, *EnableKeyRequest) (*EnableKeyResponse, error)
	// DisableKey deactivates a key while maintaining its existence
	DisableKey(context.Context, *DisableKeyRequest) (*DisableKeyResponse, error)
	// Gets the parameters needed for importing key material
	GetImportParameters(context.Context, *GetImportParametersRequest) (*GetImportParametersResponse, error)
	// Imports key material into a KMS key
	ImportKeyMaterial(context.Context, *ImportKeyMaterialRequest) (*ImportKeyMaterialResponse, error)
	// Validate the key attributes against the plugin's requirements
	ValidateKey(context.Context, *ValidateKeyRequest) (*ValidateKeyResponse, error)
	// ValidateKeyAccessData checks the access data for key management and crypto operations
	ValidateKeyAccessData(context.Context, *ValidateKeyAccessDataRequest) (*ValidateKeyAccessDataResponse, error)
	// TransformCryptoAccessData transforms the JSON-stored crypto access data into protobuf wire format for a given key
	TransformCryptoAccessData(context.Context, *TransformCryptoAccessDataRequest) (*TransformCryptoAccessDataResponse, error)
	// ExtractKeyRegion extracts the region from key attributes
	ExtractKeyRegion(context.Context, *ExtractKeyRegionRequest) (*ExtractKeyRegionResponse, error)
	// contains filtered or unexported methods
}

KeystoreInstanceKeyOperationServer is the server API for KeystoreInstanceKeyOperation service. All implementations must embed UnimplementedKeystoreInstanceKeyOperationServer for forward compatibility

type RequestParameters

type RequestParameters struct {
	Config *v1.KeystoreInstanceConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	KeyId  string                     `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// contains filtered or unexported fields
}

RequestParameters contains the common fields needed for most key operations

func (*RequestParameters) Descriptor deprecated

func (*RequestParameters) Descriptor() ([]byte, []int)

Deprecated: Use RequestParameters.ProtoReflect.Descriptor instead.

func (*RequestParameters) GetConfig

func (*RequestParameters) GetKeyId

func (x *RequestParameters) GetKeyId() string

func (*RequestParameters) ProtoMessage

func (*RequestParameters) ProtoMessage()

func (*RequestParameters) ProtoReflect

func (x *RequestParameters) ProtoReflect() protoreflect.Message

func (*RequestParameters) Reset

func (x *RequestParameters) Reset()

func (*RequestParameters) String

func (x *RequestParameters) String() string

func (*RequestParameters) Validate

func (m *RequestParameters) Validate() error

Validate checks the field values on RequestParameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RequestParameters) ValidateAll

func (m *RequestParameters) ValidateAll() error

ValidateAll checks the field values on RequestParameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RequestParametersMultiError, or nil if none found.

type RequestParametersMultiError

type RequestParametersMultiError []error

RequestParametersMultiError is an error wrapping multiple validation errors returned by RequestParameters.ValidateAll() if the designated constraints aren't met.

func (RequestParametersMultiError) AllErrors

func (m RequestParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RequestParametersMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RequestParametersValidationError

type RequestParametersValidationError struct {
	// contains filtered or unexported fields
}

RequestParametersValidationError is the validation error returned by RequestParameters.Validate if the designated constraints aren't met.

func (RequestParametersValidationError) Cause

Cause function returns cause value.

func (RequestParametersValidationError) Error

Error satisfies the builtin error interface

func (RequestParametersValidationError) ErrorName

ErrorName returns error name.

func (RequestParametersValidationError) Field

Field function returns field value.

func (RequestParametersValidationError) Key

Key function returns key value.

func (RequestParametersValidationError) Reason

Reason function returns reason value.

type TransformCryptoAccessDataRequest added in v0.4.0

type TransformCryptoAccessDataRequest struct {
	NativeKeyId string `protobuf:"bytes,1,opt,name=native_key_id,json=nativeKeyId,proto3" json:"native_key_id,omitempty"` // The native key ID for which the access data is transformed
	AccessData  []byte `protobuf:"bytes,2,opt,name=access_data,json=accessData,proto3" json:"access_data,omitempty"`      // The JSON crypto access data to be transformed
	// contains filtered or unexported fields
}

TransformCryptoAccessDataRequest contains parameters for transforming crypto access data

func (*TransformCryptoAccessDataRequest) Descriptor deprecated added in v0.4.0

func (*TransformCryptoAccessDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use TransformCryptoAccessDataRequest.ProtoReflect.Descriptor instead.

func (*TransformCryptoAccessDataRequest) GetAccessData added in v0.4.0

func (x *TransformCryptoAccessDataRequest) GetAccessData() []byte

func (*TransformCryptoAccessDataRequest) GetNativeKeyId added in v0.4.0

func (x *TransformCryptoAccessDataRequest) GetNativeKeyId() string

func (*TransformCryptoAccessDataRequest) ProtoMessage added in v0.4.0

func (*TransformCryptoAccessDataRequest) ProtoMessage()

func (*TransformCryptoAccessDataRequest) ProtoReflect added in v0.4.0

func (*TransformCryptoAccessDataRequest) Reset added in v0.4.0

func (*TransformCryptoAccessDataRequest) String added in v0.4.0

func (*TransformCryptoAccessDataRequest) Validate added in v0.4.0

Validate checks the field values on TransformCryptoAccessDataRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TransformCryptoAccessDataRequest) ValidateAll added in v0.4.0

func (m *TransformCryptoAccessDataRequest) ValidateAll() error

ValidateAll checks the field values on TransformCryptoAccessDataRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TransformCryptoAccessDataRequestMultiError, or nil if none found.

type TransformCryptoAccessDataRequestMultiError added in v0.4.0

type TransformCryptoAccessDataRequestMultiError []error

TransformCryptoAccessDataRequestMultiError is an error wrapping multiple validation errors returned by TransformCryptoAccessDataRequest.ValidateAll() if the designated constraints aren't met.

func (TransformCryptoAccessDataRequestMultiError) AllErrors added in v0.4.0

AllErrors returns a list of validation violation errors.

func (TransformCryptoAccessDataRequestMultiError) Error added in v0.4.0

Error returns a concatenation of all the error messages it wraps.

type TransformCryptoAccessDataRequestValidationError added in v0.4.0

type TransformCryptoAccessDataRequestValidationError struct {
	// contains filtered or unexported fields
}

TransformCryptoAccessDataRequestValidationError is the validation error returned by TransformCryptoAccessDataRequest.Validate if the designated constraints aren't met.

func (TransformCryptoAccessDataRequestValidationError) Cause added in v0.4.0

Cause function returns cause value.

func (TransformCryptoAccessDataRequestValidationError) Error added in v0.4.0

Error satisfies the builtin error interface

func (TransformCryptoAccessDataRequestValidationError) ErrorName added in v0.4.0

ErrorName returns error name.

func (TransformCryptoAccessDataRequestValidationError) Field added in v0.4.0

Field function returns field value.

func (TransformCryptoAccessDataRequestValidationError) Key added in v0.4.0

Key function returns key value.

func (TransformCryptoAccessDataRequestValidationError) Reason added in v0.4.0

Reason function returns reason value.

type TransformCryptoAccessDataResponse added in v0.4.0

type TransformCryptoAccessDataResponse struct {
	TransformedAccessData map[string][]byte `` // The transformed crypto access data in wire format
	/* 214-byte string literal not displayed */
	// contains filtered or unexported fields
}

TransformCryptoAccessDataResponse contains the transformed crypto access data

func (*TransformCryptoAccessDataResponse) Descriptor deprecated added in v0.4.0

func (*TransformCryptoAccessDataResponse) Descriptor() ([]byte, []int)

Deprecated: Use TransformCryptoAccessDataResponse.ProtoReflect.Descriptor instead.

func (*TransformCryptoAccessDataResponse) GetTransformedAccessData added in v0.4.0

func (x *TransformCryptoAccessDataResponse) GetTransformedAccessData() map[string][]byte

func (*TransformCryptoAccessDataResponse) ProtoMessage added in v0.4.0

func (*TransformCryptoAccessDataResponse) ProtoMessage()

func (*TransformCryptoAccessDataResponse) ProtoReflect added in v0.4.0

func (*TransformCryptoAccessDataResponse) Reset added in v0.4.0

func (*TransformCryptoAccessDataResponse) String added in v0.4.0

func (*TransformCryptoAccessDataResponse) Validate added in v0.4.0

Validate checks the field values on TransformCryptoAccessDataResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TransformCryptoAccessDataResponse) ValidateAll added in v0.4.0

func (m *TransformCryptoAccessDataResponse) ValidateAll() error

ValidateAll checks the field values on TransformCryptoAccessDataResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TransformCryptoAccessDataResponseMultiError, or nil if none found.

type TransformCryptoAccessDataResponseMultiError added in v0.4.0

type TransformCryptoAccessDataResponseMultiError []error

TransformCryptoAccessDataResponseMultiError is an error wrapping multiple validation errors returned by TransformCryptoAccessDataResponse.ValidateAll() if the designated constraints aren't met.

func (TransformCryptoAccessDataResponseMultiError) AllErrors added in v0.4.0

AllErrors returns a list of validation violation errors.

func (TransformCryptoAccessDataResponseMultiError) Error added in v0.4.0

Error returns a concatenation of all the error messages it wraps.

type TransformCryptoAccessDataResponseValidationError added in v0.4.0

type TransformCryptoAccessDataResponseValidationError struct {
	// contains filtered or unexported fields
}

TransformCryptoAccessDataResponseValidationError is the validation error returned by TransformCryptoAccessDataResponse.Validate if the designated constraints aren't met.

func (TransformCryptoAccessDataResponseValidationError) Cause added in v0.4.0

Cause function returns cause value.

func (TransformCryptoAccessDataResponseValidationError) Error added in v0.4.0

Error satisfies the builtin error interface

func (TransformCryptoAccessDataResponseValidationError) ErrorName added in v0.4.0

ErrorName returns error name.

func (TransformCryptoAccessDataResponseValidationError) Field added in v0.4.0

Field function returns field value.

func (TransformCryptoAccessDataResponseValidationError) Key added in v0.4.0

Key function returns key value.

func (TransformCryptoAccessDataResponseValidationError) Reason added in v0.4.0

Reason function returns reason value.

type UnimplementedKeystoreInstanceKeyOperationServer

type UnimplementedKeystoreInstanceKeyOperationServer struct {
}

UnimplementedKeystoreInstanceKeyOperationServer must be embedded to have forward compatible implementations.

func (UnimplementedKeystoreInstanceKeyOperationServer) CreateKey

func (UnimplementedKeystoreInstanceKeyOperationServer) DeleteKey

func (UnimplementedKeystoreInstanceKeyOperationServer) DisableKey

func (UnimplementedKeystoreInstanceKeyOperationServer) EnableKey

func (UnimplementedKeystoreInstanceKeyOperationServer) ExtractKeyRegion added in v0.3.0

func (UnimplementedKeystoreInstanceKeyOperationServer) GetImportParameters

func (UnimplementedKeystoreInstanceKeyOperationServer) GetKey

func (UnimplementedKeystoreInstanceKeyOperationServer) ImportKeyMaterial

func (UnimplementedKeystoreInstanceKeyOperationServer) TransformCryptoAccessData added in v0.4.0

func (UnimplementedKeystoreInstanceKeyOperationServer) ValidateKey added in v0.3.0

func (UnimplementedKeystoreInstanceKeyOperationServer) ValidateKeyAccessData added in v0.3.0

type UnsafeKeystoreInstanceKeyOperationServer

type UnsafeKeystoreInstanceKeyOperationServer interface {
	// contains filtered or unexported methods
}

UnsafeKeystoreInstanceKeyOperationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeystoreInstanceKeyOperationServer will result in compilation errors.

type ValidateKeyAccessDataRequest added in v0.3.0

type ValidateKeyAccessDataRequest struct {
	Management *structpb.Struct `protobuf:"bytes,1,opt,name=management,proto3" json:"management,omitempty"`
	Crypto     *structpb.Struct `protobuf:"bytes,2,opt,name=crypto,proto3" json:"crypto,omitempty"`
	// contains filtered or unexported fields
}

ValidateKeyAccessDataRequest contains access data for key management and crypto operations

func (*ValidateKeyAccessDataRequest) Descriptor deprecated added in v0.3.0

func (*ValidateKeyAccessDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use ValidateKeyAccessDataRequest.ProtoReflect.Descriptor instead.

func (*ValidateKeyAccessDataRequest) GetCrypto added in v0.3.0

func (*ValidateKeyAccessDataRequest) GetManagement added in v0.3.0

func (x *ValidateKeyAccessDataRequest) GetManagement() *structpb.Struct

func (*ValidateKeyAccessDataRequest) ProtoMessage added in v0.3.0

func (*ValidateKeyAccessDataRequest) ProtoMessage()

func (*ValidateKeyAccessDataRequest) ProtoReflect added in v0.3.0

func (*ValidateKeyAccessDataRequest) Reset added in v0.3.0

func (x *ValidateKeyAccessDataRequest) Reset()

func (*ValidateKeyAccessDataRequest) String added in v0.3.0

func (*ValidateKeyAccessDataRequest) Validate added in v0.3.0

func (m *ValidateKeyAccessDataRequest) Validate() error

Validate checks the field values on ValidateKeyAccessDataRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ValidateKeyAccessDataRequest) ValidateAll added in v0.3.0

func (m *ValidateKeyAccessDataRequest) ValidateAll() error

ValidateAll checks the field values on ValidateKeyAccessDataRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ValidateKeyAccessDataRequestMultiError, or nil if none found.

type ValidateKeyAccessDataRequestMultiError added in v0.3.0

type ValidateKeyAccessDataRequestMultiError []error

ValidateKeyAccessDataRequestMultiError is an error wrapping multiple validation errors returned by ValidateKeyAccessDataRequest.ValidateAll() if the designated constraints aren't met.

func (ValidateKeyAccessDataRequestMultiError) AllErrors added in v0.3.0

AllErrors returns a list of validation violation errors.

func (ValidateKeyAccessDataRequestMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type ValidateKeyAccessDataRequestValidationError added in v0.3.0

type ValidateKeyAccessDataRequestValidationError struct {
	// contains filtered or unexported fields
}

ValidateKeyAccessDataRequestValidationError is the validation error returned by ValidateKeyAccessDataRequest.Validate if the designated constraints aren't met.

func (ValidateKeyAccessDataRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (ValidateKeyAccessDataRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (ValidateKeyAccessDataRequestValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (ValidateKeyAccessDataRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (ValidateKeyAccessDataRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (ValidateKeyAccessDataRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type ValidateKeyAccessDataResponse added in v0.3.0

type ValidateKeyAccessDataResponse struct {
	IsValid bool   `protobuf:"varint,1,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"` // Indicates if the key access data is valid
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`                 // Additional information about the validation result
	// contains filtered or unexported fields
}

ValidateKeyAccessDataResponse contains the result of key access data validation

func (*ValidateKeyAccessDataResponse) Descriptor deprecated added in v0.3.0

func (*ValidateKeyAccessDataResponse) Descriptor() ([]byte, []int)

Deprecated: Use ValidateKeyAccessDataResponse.ProtoReflect.Descriptor instead.

func (*ValidateKeyAccessDataResponse) GetIsValid added in v0.3.0

func (x *ValidateKeyAccessDataResponse) GetIsValid() bool

func (*ValidateKeyAccessDataResponse) GetMessage added in v0.3.0

func (x *ValidateKeyAccessDataResponse) GetMessage() string

func (*ValidateKeyAccessDataResponse) ProtoMessage added in v0.3.0

func (*ValidateKeyAccessDataResponse) ProtoMessage()

func (*ValidateKeyAccessDataResponse) ProtoReflect added in v0.3.0

func (*ValidateKeyAccessDataResponse) Reset added in v0.3.0

func (x *ValidateKeyAccessDataResponse) Reset()

func (*ValidateKeyAccessDataResponse) String added in v0.3.0

func (*ValidateKeyAccessDataResponse) Validate added in v0.3.0

func (m *ValidateKeyAccessDataResponse) Validate() error

Validate checks the field values on ValidateKeyAccessDataResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ValidateKeyAccessDataResponse) ValidateAll added in v0.3.0

func (m *ValidateKeyAccessDataResponse) ValidateAll() error

ValidateAll checks the field values on ValidateKeyAccessDataResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ValidateKeyAccessDataResponseMultiError, or nil if none found.

type ValidateKeyAccessDataResponseMultiError added in v0.3.0

type ValidateKeyAccessDataResponseMultiError []error

ValidateKeyAccessDataResponseMultiError is an error wrapping multiple validation errors returned by ValidateKeyAccessDataResponse.ValidateAll() if the designated constraints aren't met.

func (ValidateKeyAccessDataResponseMultiError) AllErrors added in v0.3.0

AllErrors returns a list of validation violation errors.

func (ValidateKeyAccessDataResponseMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type ValidateKeyAccessDataResponseValidationError added in v0.3.0

type ValidateKeyAccessDataResponseValidationError struct {
	// contains filtered or unexported fields
}

ValidateKeyAccessDataResponseValidationError is the validation error returned by ValidateKeyAccessDataResponse.Validate if the designated constraints aren't met.

func (ValidateKeyAccessDataResponseValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (ValidateKeyAccessDataResponseValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (ValidateKeyAccessDataResponseValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (ValidateKeyAccessDataResponseValidationError) Field added in v0.3.0

Field function returns field value.

func (ValidateKeyAccessDataResponseValidationError) Key added in v0.3.0

Key function returns key value.

func (ValidateKeyAccessDataResponseValidationError) Reason added in v0.3.0

Reason function returns reason value.

type ValidateKeyRequest added in v0.3.0

type ValidateKeyRequest struct {
	KeyType     KeyType      `` /* 126-byte string literal not displayed */
	Algorithm   KeyAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=plugin.keystore.operations.v1.KeyAlgorithm" json:"algorithm,omitempty"`
	Region      string       `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`                                // The region in which the key is to be validated
	NativeKeyId string       `protobuf:"bytes,4,opt,name=native_key_id,json=nativeKeyId,proto3" json:"native_key_id,omitempty"` // The native key ID if applicable
	// contains filtered or unexported fields
}

ValidateKeyRequest contains parameters for validating key attributes

func (*ValidateKeyRequest) Descriptor deprecated added in v0.3.0

func (*ValidateKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use ValidateKeyRequest.ProtoReflect.Descriptor instead.

func (*ValidateKeyRequest) GetAlgorithm added in v0.3.0

func (x *ValidateKeyRequest) GetAlgorithm() KeyAlgorithm

func (*ValidateKeyRequest) GetKeyType added in v0.3.0

func (x *ValidateKeyRequest) GetKeyType() KeyType

func (*ValidateKeyRequest) GetNativeKeyId added in v0.3.0

func (x *ValidateKeyRequest) GetNativeKeyId() string

func (*ValidateKeyRequest) GetRegion added in v0.3.0

func (x *ValidateKeyRequest) GetRegion() string

func (*ValidateKeyRequest) ProtoMessage added in v0.3.0

func (*ValidateKeyRequest) ProtoMessage()

func (*ValidateKeyRequest) ProtoReflect added in v0.3.0

func (x *ValidateKeyRequest) ProtoReflect() protoreflect.Message

func (*ValidateKeyRequest) Reset added in v0.3.0

func (x *ValidateKeyRequest) Reset()

func (*ValidateKeyRequest) String added in v0.3.0

func (x *ValidateKeyRequest) String() string

func (*ValidateKeyRequest) Validate added in v0.3.0

func (m *ValidateKeyRequest) Validate() error

Validate checks the field values on ValidateKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ValidateKeyRequest) ValidateAll added in v0.3.0

func (m *ValidateKeyRequest) ValidateAll() error

ValidateAll checks the field values on ValidateKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ValidateKeyRequestMultiError, or nil if none found.

type ValidateKeyRequestMultiError added in v0.3.0

type ValidateKeyRequestMultiError []error

ValidateKeyRequestMultiError is an error wrapping multiple validation errors returned by ValidateKeyRequest.ValidateAll() if the designated constraints aren't met.

func (ValidateKeyRequestMultiError) AllErrors added in v0.3.0

func (m ValidateKeyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ValidateKeyRequestMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type ValidateKeyRequestValidationError added in v0.3.0

type ValidateKeyRequestValidationError struct {
	// contains filtered or unexported fields
}

ValidateKeyRequestValidationError is the validation error returned by ValidateKeyRequest.Validate if the designated constraints aren't met.

func (ValidateKeyRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (ValidateKeyRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (ValidateKeyRequestValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (ValidateKeyRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (ValidateKeyRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (ValidateKeyRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type ValidateKeyResponse added in v0.3.0

type ValidateKeyResponse struct {
	IsValid bool   `protobuf:"varint,1,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"` // Indicates if the key attributes are valid
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`                 // Additional information about the validation result
	// contains filtered or unexported fields
}

ValidateKeyResponse contains the result of key validation

func (*ValidateKeyResponse) Descriptor deprecated added in v0.3.0

func (*ValidateKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use ValidateKeyResponse.ProtoReflect.Descriptor instead.

func (*ValidateKeyResponse) GetIsValid added in v0.3.0

func (x *ValidateKeyResponse) GetIsValid() bool

func (*ValidateKeyResponse) GetMessage added in v0.3.0

func (x *ValidateKeyResponse) GetMessage() string

func (*ValidateKeyResponse) ProtoMessage added in v0.3.0

func (*ValidateKeyResponse) ProtoMessage()

func (*ValidateKeyResponse) ProtoReflect added in v0.3.0

func (x *ValidateKeyResponse) ProtoReflect() protoreflect.Message

func (*ValidateKeyResponse) Reset added in v0.3.0

func (x *ValidateKeyResponse) Reset()

func (*ValidateKeyResponse) String added in v0.3.0

func (x *ValidateKeyResponse) String() string

func (*ValidateKeyResponse) Validate added in v0.3.0

func (m *ValidateKeyResponse) Validate() error

Validate checks the field values on ValidateKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ValidateKeyResponse) ValidateAll added in v0.3.0

func (m *ValidateKeyResponse) ValidateAll() error

ValidateAll checks the field values on ValidateKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ValidateKeyResponseMultiError, or nil if none found.

type ValidateKeyResponseMultiError added in v0.3.0

type ValidateKeyResponseMultiError []error

ValidateKeyResponseMultiError is an error wrapping multiple validation errors returned by ValidateKeyResponse.ValidateAll() if the designated constraints aren't met.

func (ValidateKeyResponseMultiError) AllErrors added in v0.3.0

func (m ValidateKeyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ValidateKeyResponseMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type ValidateKeyResponseValidationError added in v0.3.0

type ValidateKeyResponseValidationError struct {
	// contains filtered or unexported fields
}

ValidateKeyResponseValidationError is the validation error returned by ValidateKeyResponse.Validate if the designated constraints aren't met.

func (ValidateKeyResponseValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (ValidateKeyResponseValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (ValidateKeyResponseValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (ValidateKeyResponseValidationError) Field added in v0.3.0

Field function returns field value.

func (ValidateKeyResponseValidationError) Key added in v0.3.0

Key function returns key value.

func (ValidateKeyResponseValidationError) Reason added in v0.3.0

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL