Encryption: Fix b64 encoding on CLI secretsmigrations commands (#49340)

This commit is contained in:
Joan López de la Franca Beltran
2022-05-23 07:57:48 +02:00
committed by GitHub
parent aac5c9fd22
commit 5645d7a5e3
3 changed files with 14 additions and 12 deletions

View File

@@ -1,6 +1,7 @@
package secretsmigrations
import (
"encoding/base64"
"time"
"github.com/grafana/grafana/pkg/infra/log"
@@ -14,6 +15,7 @@ type simpleSecret struct {
type b64Secret struct {
simpleSecret
hasUpdatedColumn bool
encoding *base64.Encoding
}
type jsonSecret struct {