mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 11:32:25 +08:00

* SecretsManager: add encrypted value store Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com> Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com> Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com> Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com> * SecretsManager: wiring of encrypted value store --------- Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com> Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com> Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com>
16 lines
312 B
Go
16 lines
312 B
Go
package encryption
|
|
|
|
import "github.com/grafana/grafana/pkg/storage/secret/migrator"
|
|
|
|
type EncryptedValue struct {
|
|
UID string
|
|
Namespace string
|
|
EncryptedData []byte
|
|
Created int64
|
|
Updated int64
|
|
}
|
|
|
|
func (*EncryptedValue) TableName() string {
|
|
return migrator.TableNameEncryptedValue
|
|
}
|