Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaStore ¶
func NewMetaStore ¶
NewMetaStore creates a new instance of MetaStore.
func (*MetaStore) CreateTableIfNotExists ¶
CreateTableIfNotExists checks if a DynamoDB table exists, and if not, creates it.
func (*MetaStore) RetrieveMaterial ¶
func (s *MetaStore) RetrieveMaterial(ctx context.Context, materialName string, version int64) (map[string]string, string, error)
RetrieveMaterial retrieves a material and its encryption context by materialName and version.
func (*MetaStore) StoreNewMaterial ¶
func (s *MetaStore) StoreNewMaterial(ctx context.Context, materialName string, material materials.CryptographicMaterials) error
StoreNewMaterial stores a new material along with its encryption context serialized as JSON.
Click to show internal directories.
Click to hide internal directories.