keystoremanagement

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateKeystoreRequest

type CreateKeystoreRequest struct {
	// V1 Fields
	Values map[string]any
}

type CreateKeystoreResponse

type CreateKeystoreResponse struct {
	// V1 Fields
	RoleManagementConfig ManagementConfig
	KeyManagementConfig  ManagementConfig
	SupportedRegions     []config.Region
}

func (*CreateKeystoreResponse) ToKeystoreConfig added in v0.9.0

func (c *CreateKeystoreResponse) ToKeystoreConfig() common.KeystoreConfig

type DeleteKeystoreRequest

type DeleteKeystoreRequest struct {
	// V1 Fields
	Config common.KeystoreConfig
}

type DeleteKeystoreResponse

type DeleteKeystoreResponse struct{}

type GrantTrustRequest added in v0.9.0

type GrantTrustRequest struct {
	// V1 Fields
	Config  common.KeystoreConfig
	Subject string
	Region  string
	Type    TrustType
}

type GrantTrustResponse added in v0.9.0

type GrantTrustResponse struct {
	AccessData common.KeystoreConfig
}

type KeystoreManagement

type KeystoreManagement interface {
	ServiceInfo() api.Info

	CreateKeystore(ctx context.Context, req *CreateKeystoreRequest) (*CreateKeystoreResponse, error)
	DeleteKeystore(ctx context.Context, req *DeleteKeystoreRequest) (*DeleteKeystoreResponse, error)
	GrantTrust(ctx context.Context, req *GrantTrustRequest) (*GrantTrustResponse, error)
	RemoveTrust(ctx context.Context, req *RemoveTrustRequest) (*RemoveTrustResponse, error)
}

type ManagementConfig added in v0.9.0

type ManagementConfig struct {
	// V1 Fields
	LocalityID string
	CommonName string
	AccessData common.KeystoreConfig
}

type RemoveTrustRequest added in v0.9.0

type RemoveTrustRequest struct {
	// V1 Fields
	Config     common.KeystoreConfig
	AccessData common.KeystoreConfig
}

type RemoveTrustResponse added in v0.9.0

type RemoveTrustResponse struct{}

type TrustType added in v0.9.0

type TrustType string
const (
	TrustTypeManagement TrustType = "MANAGEMENT"
	TrustTypeCrypto     TrustType = "CRYPTO"
)

Jump to

Keyboard shortcuts

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