Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBase64Secret ¶
func NewSimpleSecret ¶
func NewSimpleSecret(tableName, columnName string) simpleSecret
Types ¶
type SecretsMigrator ¶
type SecretsMigrator struct {
// contains filtered or unexported fields
}
func ProvideSecretsMigrator ¶
func ProvideSecretsMigrator( encryptionSrv encryption.Internal, service *manager.SecretsService, sqlStore db.DB, settings setting.Provider, features featuremgmt.FeatureToggles, ) *SecretsMigrator
func (*SecretsMigrator) ReEncryptSecrets ¶
func (m *SecretsMigrator) ReEncryptSecrets(ctx context.Context) (bool, error)
func (*SecretsMigrator) RegisterRotators ¶
func (m *SecretsMigrator) RegisterRotators(rotators ...SecretsRotator)
func (*SecretsMigrator) RollBackSecrets ¶
func (m *SecretsMigrator) RollBackSecrets(ctx context.Context) (bool, error)
type SecretsRotator ¶
Click to show internal directories.
Click to hide internal directories.