keymanagement

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrProviderAuthenticationFailed = errors.New("failed to authenticate with the keystore provider")
	ErrHYOKKeyNotFound              = errors.New("HYOK provider key not found")
)

Functions

This section is empty.

Types

type CreateKeyRequest

type CreateKeyRequest struct {
	// V1 Fields
	Config       common.KeystoreConfig
	KeyAlgorithm KeyAlgorithm
	ID           *string
	Region       string
	KeyType      KeyType
}

CreateKeyRequest contains parameters for key creation

type CreateKeyResponse

type CreateKeyResponse struct {
	// V1 Fields
	KeyID  string
	Status string
}

type DeleteKeyRequest

type DeleteKeyRequest struct {
	// V1 Fields
	Parameters RequestParameters
	Window     *int32
}

DeleteKeyRequest contains parameters for key deletion

type DeleteKeyResponse

type DeleteKeyResponse struct{}

type DisableKeyRequest

type DisableKeyRequest struct {
	// V1 Fields
	Parameters RequestParameters
}

DisableKeyRequest contains parameters for key disablement

type DisableKeyResponse

type DisableKeyResponse struct{}

type EnableKeyRequest

type EnableKeyRequest struct {
	// V1 Fields
	Parameters RequestParameters
}

EnableKeyRequest contains parameters for key enablement

type EnableKeyResponse

type EnableKeyResponse struct{}

type ExtractKeyRegionRequest

type ExtractKeyRegionRequest struct {
	// V1 Fields
	NativeKeyID          string
	ManagementAccessData map[string]any
}

type ExtractKeyRegionResponse

type ExtractKeyRegionResponse struct {
	// V1 Fields
	Region string
}

type GetImportParametersRequest

type GetImportParametersRequest struct {
	// V1 Fields
	Parameters   RequestParameters
	KeyAlgorithm KeyAlgorithm
}

type GetImportParametersResponse

type GetImportParametersResponse struct {
	// V1 Fields
	KeyID            string
	ImportParameters map[string]any
}

type GetKeyRequest

type GetKeyRequest struct {
	// V1 Fields
	Parameters RequestParameters
}

type GetKeyResponse

type GetKeyResponse struct {
	// V1 Fields
	KeyID              string
	KeyAlgorithm       KeyAlgorithm
	Status             string
	Usage              string
	LatestKeyVersionId string
}

type ImportKeyMaterialRequest

type ImportKeyMaterialRequest struct {
	// V1 Fields
	Parameters           RequestParameters
	ImportParameters     map[string]any
	EncryptedKeyMaterial string
}

type ImportKeyMaterialResponse

type ImportKeyMaterialResponse struct{}

type KeyAlgorithm

type KeyAlgorithm int32
const (
	UnspecifiedKeyAlgorithm KeyAlgorithm = iota
	AES256
	RSA3072
	RSA4096
)

type KeyType

type KeyType int32
const (
	UnspecifiedKeyType KeyType = iota
	SystemManaged
	BYOK
	HYOK
)

type RequestParameters

type RequestParameters struct {
	// V1 Fields
	Config common.KeystoreConfig
	KeyID  string
}

type TransformCryptoAccessDataRequest

type TransformCryptoAccessDataRequest struct {
	// V1 Fields
	NativeKeyID string
	AccessData  []byte
}

type TransformCryptoAccessDataResponse

type TransformCryptoAccessDataResponse struct {
	// V1 Fields
	TransformedAccessData map[string][]byte
}

type ValidateKeyAccessDataRequest

type ValidateKeyAccessDataRequest struct {
	// V1 Fields
	Management map[string]any
	Crypto     map[string]map[string]any
}

type ValidateKeyAccessDataResponse

type ValidateKeyAccessDataResponse struct {
	// V1 Fields
	IsValid bool
	Message string
}

type ValidateKeyRequest

type ValidateKeyRequest struct {
	// V1 Fields
	KeyType      KeyType
	KeyAlgorithm KeyAlgorithm
	Region       string
	NativeKeyID  string
}

type ValidateKeyResponse

type ValidateKeyResponse struct {
	// V1 Fields
	IsValid bool
	Message string
}

Jump to

Keyboard shortcuts

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