Documentation ¶
Index ¶
- type SecretsStoreImpl
- func (ss *SecretsStoreImpl) CreateDataKey(ctx context.Context, dataKey *secrets.DataKey) error
- func (ss *SecretsStoreImpl) DeleteDataKey(ctx context.Context, id string) error
- func (ss *SecretsStoreImpl) DisableDataKeys(ctx context.Context) error
- func (ss *SecretsStoreImpl) GetAllDataKeys(ctx context.Context) ([]*secrets.DataKey, error)
- func (ss *SecretsStoreImpl) GetCurrentDataKey(ctx context.Context, label string) (*secrets.DataKey, error)
- func (ss *SecretsStoreImpl) GetDataKey(ctx context.Context, id string) (*secrets.DataKey, error)
- func (ss *SecretsStoreImpl) ReEncryptDataKeys(ctx context.Context, providers map[secrets.ProviderID]secrets.Provider, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretsStoreImpl ¶
type SecretsStoreImpl struct {
// contains filtered or unexported fields
}
func ProvideSecretsStore ¶
func ProvideSecretsStore(db db.DB) *SecretsStoreImpl
func (*SecretsStoreImpl) CreateDataKey ¶
func (*SecretsStoreImpl) DeleteDataKey ¶
func (ss *SecretsStoreImpl) DeleteDataKey(ctx context.Context, id string) error
func (*SecretsStoreImpl) DisableDataKeys ¶
func (ss *SecretsStoreImpl) DisableDataKeys(ctx context.Context) error
func (*SecretsStoreImpl) GetAllDataKeys ¶
func (*SecretsStoreImpl) GetCurrentDataKey ¶
func (*SecretsStoreImpl) GetDataKey ¶
func (*SecretsStoreImpl) ReEncryptDataKeys ¶
func (ss *SecretsStoreImpl) ReEncryptDataKeys( ctx context.Context, providers map[secrets.ProviderID]secrets.Provider, currProvider secrets.ProviderID, ) error
Click to show internal directories.
Click to hide internal directories.