mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 17:42:19 +08:00

* SecretsManager: Add data key store Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com> Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com> Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com> * SecretsManager: Add wiring of data key store Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com> Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com> Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com> --------- Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com> Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
20 lines
387 B
Go
20 lines
387 B
Go
package encryption
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/grafana/grafana/pkg/registry/apis/secret/encryption"
|
|
)
|
|
|
|
// SecretDataKey does not have a mirrored K8s resource
|
|
type SecretDataKey struct {
|
|
UID string
|
|
Active bool
|
|
Namespace string
|
|
Label string
|
|
Provider encryption.ProviderID
|
|
EncryptedData []byte
|
|
Created time.Time
|
|
Updated time.Time
|
|
}
|